cleaner time synch crontab
[feisty_meow.git] / infobase / configuration / cron / time_synch.crontab
index f59270620a163c867b71d5d42975d30dc68e1da9..4d58fc58f538296828976762582d5b50758917cf 100644 (file)
@@ -1,16 +1,20 @@
 
+##############
+
 #[time synch]
 
-# standard to synch to local machine.
+LOCAL_TIME_SERVER=greendragon
 
 ##############
 
-# synchronize time/date with our nearest time server.
-*/4 * * * * /usr/sbin/ntpdate greendragon &>>/tmp/${CRONUSER}-cron-time_synch.log
+# 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
 
-# one machine on the network uses this version, to synch 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?
+# 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
+
+##############