From 421efb66ead03244830a9b4c0ff5cbd8f787dcfc Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Fri, 20 May 2022 08:22:44 -0400 Subject: [PATCH] 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. --- infobase/configuration/cron/time_synch.crontab | 10 ++++++---- infobase/configuration/cron/update_system_time.crontab | 10 ---------- 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 infobase/configuration/cron/update_system_time.crontab 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 - -############## - - -- 2.34.1