Results 1 to 2 of 2
Thread: time sync cron
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2004
time sync cron
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
type crontab -e to open your crontab then its like this
00 * * * * /usr/bin/rdate -s time.nist.gov && /sbin/hwclock --systohc