projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more info in doc
[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 f59270620a163c867b71d5d42975d30dc68e1da9..7b5fd6feaeb905978f1cfa289b19740fd7f41ca2 100644
(file)
--- a/
infobase/configuration/cron/time_synch.crontab
+++ b/
infobase/configuration/cron/time_synch.crontab
@@
-1,16
+1,18
@@
-#
[time synch]
+#
#############
-#
standard to synch to local machine.
+#
[time synch]
-##############
+LOCAL_TIME_SERVER=greendragon
-# synchronize time/date with our nearest time server.
-*/4 * * * * /usr/sbin/ntpdate greendragon &>>/tmp/${CRONUSER}-cron-time_synch.log
+# 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.
+#
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
-#hmmm: is above still correct?
+
+##############