X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Ftime_synch.crontab;h=17cdd55492c6a9c33eb4aa34f625830b09e10d3a;hb=a6721e1540e9729e7a753e00d62875f1e4987dd1;hp=ee390d2b884903332256c4a3c5308854a219d33f;hpb=299c6517d67712a82237c1effce390e466ff1601;p=feisty_meow.git diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index ee390d2b..17cdd554 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -1,16 +1,14 @@ -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 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-c.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log