From: Fred T. Hamster Date: Fri, 20 May 2022 12:22:44 +0000 (-0400) Subject: cleaner time synch crontab X-Git-Tag: 2.140.136^2~73 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=421efb66ead03244830a9b4c0ff5cbd8f787dcfc;p=feisty_meow.git cleaner time synch crontab since the two lines are alternates, it made sense to make that clearer, so i did. moving out this other update system time crontab to see if i still need it. --- diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index 7b5fd6fe..4d58fc58 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -5,14 +5,16 @@ LOCAL_TIME_SERVER=greendragon +############## + +# note: uncomment one of the below (client or server). + # 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 - -############## +#*/4 * * * * /usr/sbin/ntpdate $LOCAL_TIME_SERVER &>>/tmp/${CRONUSER}-cron-time_synch.log # 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 +#0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log ############## diff --git a/infobase/configuration/cron/update_system_time.crontab b/infobase/configuration/cron/update_system_time.crontab deleted file mode 100644 index 78c646b1..00000000 --- a/infobase/configuration/cron/update_system_time.crontab +++ /dev/null @@ -1,10 +0,0 @@ - -############## - -#[update_system_time] -# synchronize the time with a real ntp server. -42 0,4,8,12,16,20 * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_APEX/scripts/system/update_system_time.sh ) &>/tmp/${CRONUSER}-cron-update_system_time.log - -############## - -