Merge branch 'release-2.140.113'
[feisty_meow.git] / infobase / configuration / cron / time_synch.crontab
index ef5a747ead3573a2eac8a10340dd44a8b8efd983..f59270620a163c867b71d5d42975d30dc68e1da9 100644 (file)
@@ -1,18 +1,16 @@
 
-SHELL=/bin/bash
+#[time synch]
 
-# m h dom mon dow command
+# standard to synch to local machine.
 
-#[time synch crontab]
+##############
 
-# standard to synch to local machine.
-0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/sbin/sntp -P no -r greendragon
-or
-0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/bin/rdate -s -n greendragon
-# -n is nntp which may not work with govt servers.
+# synchronize time/date with our nearest time server.
+*/4 * * * * /usr/sbin/ntpdate greendragon &>>/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/sbin/sntp -P no -r time.nist.gov
-#or
-0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time-c.nist.gov
+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?