Results 1 to 2 of 2
Hi again,
I don't really do crons too much, infact at all, but how can I set one up to sync my servers.
The commands I need to run are:
...
- 07-25-2004 #1Linux Newbie
- Join Date
- Feb 2004
- Posts
- 139
time sync cron
Hi again,
I don't really do crons too much, infact at all, but how can I set one up to sync my servers.
The commands I need to run are:
/usr/bin/rdate -s time.nist.gov && /sbin/hwclock --systohc
What file and what do I put in there to make it run every 60 minutes? (every 30 minutes of the hour (i.e. 5:30, 6:30, etc)If you love something, emerge it
- 07-26-2004 #2
type crontab -e to open your crontab then its like this
00 is seconds, the first * is hours then its days, months, years, then the command. So this will run on the hour every hour.Code:00 * * * * /usr/bin/rdate -s time.nist.gov && /sbin/hwclock --systohc


Reply With Quote
