Merge branch 'release-2.140.136'
[feisty_meow.git] / infobase / configuration / cron / time_synch.crontab
index 7b5fd6feaeb905978f1cfa289b19740fd7f41ca2..6b064f5c51088f46252b32cdd9b1190bd2031b85 100644 (file)
@@ -1,18 +1,32 @@
 
 ##############
 
-#[time synch]
+#[time_synch_suite]
 
 LOCAL_TIME_SERVER=greendragon
 
+##############
+
+# note: uncomment only one of the below (local client, local server, or remote client).
+
+##############
+
+#[update_system_time_local_client]
 # 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
 
 ##############
 
+#[update_system_time_local_server]
 # 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
+
+##############
+
+#[update_system_time_remote_client]
+# 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
 
 ##############