projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release-2.140.122'
[feisty_meow.git]
/
infobase
/
configuration
/
cron
/
time_synch.crontab
diff --git
a/infobase/configuration/cron/time_synch.crontab
b/infobase/configuration/cron/time_synch.crontab
index 8510ee826c76b74ae2b5ee1aad4d80ff5ff52fec..7b5fd6feaeb905978f1cfa289b19740fd7f41ca2 100644
(file)
--- a/
infobase/configuration/cron/time_synch.crontab
+++ b/
infobase/configuration/cron/time_synch.crontab
@@
-1,15
+1,18
@@
-SHELL=/bin/bash
+##############
-#
m h dom mon dow command
+#
[time synch]
-# 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 equanimity
-or
-0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /usr/bin/rdate -s -n equanimity
+LOCAL_TIME_SERVER=greendragon
-# 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 -n time.nist.gov
+# 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
+
+##############
+
+# 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
+
+##############