[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] cron (was: reliable time servers)

>19,43 1 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31 * * /usr/bin/rdate -s
>ntp1.csx.cam.ac.uk && /sbin/hwclock --systohc --utc
It's not the exact same thing, but can't you  do

19,43 1 */2 * * /usr/bin/rdate -s ntp1.csx.cam.ac.uk && /sbin/hwclock --systohc --utc

and acheive about the same result?

Also, as I see this, you're running this twice every 48 hours (not 
accounting for days with odd numbers of months).  But, the second 
execution is only 22 minutes after the first.  What's the point of that?


This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.