X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Ftime_synch.crontab;h=7b5fd6feaeb905978f1cfa289b19740fd7f41ca2;hb=349134c5f00fa483dd75659428a1ab0c58657015;hp=f59270620a163c867b71d5d42975d30dc68e1da9;hpb=6a60fb3300431fcc3001b1c5dec3fdf814ee2de4;p=feisty_meow.git diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index f5927062..7b5fd6fe 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -1,16 +1,18 @@ -#[time synch] +############## -# standard to synch to local machine. +#[time synch] -############## +LOCAL_TIME_SERVER=greendragon -# synchronize time/date with our nearest time server. -*/4 * * * * /usr/sbin/ntpdate greendragon &>>/tmp/${CRONUSER}-cron-time_synch.log +# standard version synchs to a local machine. can be used on a network +# to get time from central host. +*/4 * * * * /usr/sbin/ntpdate $LOCAL_TIME_SERVER &>>/tmp/${CRONUSER}-cron-time_synch.log ############## -# one machine on the network uses this version, to synch externally. +# the central host machine uses this version, to synch time externally. 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? + +##############