X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Ftime_synch.crontab;h=f59270620a163c867b71d5d42975d30dc68e1da9;hb=aa9877604dcd9afdcc18f10fe14fa31b87fc0597;hp=8510ee826c76b74ae2b5ee1aad4d80ff5ff52fec;hpb=0f49452f40415efb2a62048397ed8514a1058bb7;p=feisty_meow.git diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index 8510ee82..f5927062 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -1,15 +1,16 @@ -SHELL=/bin/bash - -# m h dom mon dow command +#[time synch] # standard to synch to local machine. -0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/sbin/sntp -P no -r equanimity -or -0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/bin/rdate -s -n equanimity + +############## + +# synchronize time/date with our nearest time server. +*/4 * * * * /usr/sbin/ntpdate greendragon &>>/tmp/${CRONUSER}-cron-time_synch.log + +############## # one machine on the network uses this version, to synch externally. -0 0,4,8,12,16,20 * * * /usr/sbin/sntp -P no -r time.nist.gov -or -0 0,4,8,12,16,20 * * * /usr/bin/rdate -s -n time.nist.gov +0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log +#hmmm: is above still correct?