X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Ftime_synch.crontab;fp=infobase%2Fconfiguration%2Fcron%2Ftime_synch.crontab;h=77e41d5c698013224729bf93d3fe9b74945008f8;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=ef5a747ead3573a2eac8a10340dd44a8b8efd983;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index ef5a747e..77e41d5c 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -1,18 +1,14 @@ -SHELL=/bin/bash - -# m h dom mon dow command - -#[time synch crontab] +#[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 greendragon -or -0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/bin/rdate -s -n greendragon +#0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/sbin/sntp -P no -r greendragon &>>/tmp/${CRONUSER}-cron-time_synch.log +#or +0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/bin/rdate -s -n greendragon &>>/tmp/${CRONUSER}-cron-time_synch.log # -n is nntp which may not work with govt servers. # 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 +#0 0,4,8,12,16,20 * * * /usr/sbin/sntp -P no -r time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log #or -0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time-c.nist.gov +0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log