11-10-2005
timed commands
Hello,
How can I set up events to be executed at a certain time? And do I need some kind of privilege such as being in cron group?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I connect to a Sun Box through telnet but it timed out in couple of minutes.
Advance thanks for any idea...help... (2 Replies)
Discussion started by: s_aamir
2 Replies
2. UNIX for Advanced & Expert Users
We recently installed a new release of SCO UNIX (5.0.6) and when I try to relay e-mail from the UNIX box to my NT server (the mail server) I get the following message from sendmail.
Deferred: Connection timed out with nt
I have nt set up as my relay server in sendmail.cf and the mail seems to... (8 Replies)
Discussion started by: jmossman
8 Replies
3. HP-UX
I am trying to connect with my hp machine using "dialup networking." It times out after 30 seconds. Is there a way to adjust this time. Would it have anything to do with rexec?
thanks (0 Replies)
Discussion started by: paschal
0 Replies
4. Programming
Is there any way in which I can make my wait signal to wait for a specified time for child job to complete. And if that time is over, the program gets out of the wait signal to process other things (4 Replies)
Discussion started by: anjul_thegreat
4 Replies
5. Solaris
I have Ultra 45 Sun solaris box with Solaris 10 installed.
My problem is when i boot the unix box, i got the message:
What does this message meant?
then it does not continue to boot successfully.
Please help. Thanks in advance. (5 Replies)
Discussion started by: etcpasswd
5 Replies
6. Shell Programming and Scripting
Hi all
I need a little bit of help, i am looking for a script that can have different events in it and then if it is a certain day email me about it
some sort of email reminder system
any ideas
thanks (4 Replies)
Discussion started by: ab52
4 Replies
7. Shell Programming and Scripting
I want to warn everyone, I am not a programmer lol. I'm an IT wanting to get a little insight of programming, and I like to play around so I can learn. Ok, so I'm going to school for IT Security and Forensics. I had a project to write a hack, and I chose to write a shell script to run dd to write... (8 Replies)
Discussion started by: joshbgosh10592
8 Replies
8. Emergency UNIX and Linux Support
This has never happened before, but my laptop is now unable to access any remote servers. I have tried with 3 independent servers that I have access as recently as last week.
I am not asked for my password,
home:~ x$ ssh -v -p22 user@server
OpenSSH_5.2p1, OpenSSL 0.9.7l 28 Sep 2006... (17 Replies)
Discussion started by: chrisjorg
17 Replies
9. AIX
Hello,
I have two AIX6.1 machines that can communicate with each other through ssh.
The problem is that one of them somehow closes the connection after some time and i don't know the reason of that.
For example today i send through rsync command 7 files from one server to the other. It send... (7 Replies)
Discussion started by: omonoiatis9
7 Replies
10. UNIX for Advanced & Expert Users
I have a running service which runs in background.
It execute shell commands by function system(cmd)
I need to report fail when command execution takes more than 60 seconds.
Parent doesn't need to wait for 60 seconds of time if the cmd execution completed already.
runCommand()
{
pid_t... (3 Replies)
Discussion started by: techmonk
3 Replies
LEARN ABOUT OPENDARWIN
timedc
TIMEDC(8) BSD System Manager's Manual TIMEDC(8)
NAME
timedc -- timed control program
SYNOPSIS
timedc [command [argument ...]]
DESCRIPTION
The timedc utility is used to control the operation of the timed(8) program. It may be used to:
o Measure the differences between machines' clocks,
o Find the location where the master time server is running,
o Enable or disable tracing of messages received by timed(8), and
o Perform various debugging actions.
Without any arguments, timedc will prompt for commands from the standard input. If arguments are supplied, timedc interprets the first argu-
ment as a command and the remaining arguments as parameters to the command. The standard input may be redirected causing timedc to read com-
mands from a file. Commands may be abbreviated; recognized commands are:
? [command ...]
help [command ...]
Print a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized
commands.
clockdiff host ...
Compute the differences between the clock of the host machine and the clocks of the machines given as arguments.
msite [host ...]
Show the master time server for specified host(s).
trace { on | off }
Enable or disable the tracing of incoming messages to timed in the file /var/log/timed.log.
election host1 [host2 ...]
Asks the daemon on the target host to reset its "election" timers and to ensure that a time master has been elected.
quit Exit from timedc.
Other commands may be included for use in testing and debugging timed(8); the help command and the program source may be consulted for
details.
FILES
/var/log/timed.log tracing file for timed
/var/log/timed.masterlog log file for master timed
SEE ALSO
date(1), adjtime(2), icmp(4), timed(8)
R. Gusella and S. Zatti, TSP: The Time Synchronization Protocol for UNIX 4.3BSD.
DIAGNOSTICS
?Ambiguous command abbreviation matches more than one command
?Invalid command no match found
?Privileged command command can be executed by root only
HISTORY
The timedc utility appeared in 4.3BSD.
BSD
June 6, 1993 BSD