cleaned more crons
authorChris Koeritz <fred@gruntose.com>
Tue, 7 Feb 2017 18:09:01 +0000 (13:09 -0500)
committerChris Koeritz <fred@gruntose.com>
Tue, 7 Feb 2017 18:09:01 +0000 (13:09 -0500)
tell zooty now uses better pathing and re-uses the CRONUSER variable.  time synch is hooked to the official government server time.nist.gov now instead of a sub-server (time-c).

infobase/configuration/cron/tell_zooty_our_ip.crontab
infobase/configuration/cron/time_synch.crontab

index 37322d24cf421fa1665c51dbb00909c5405aeec4..1d9aacef83af978dee489d0cdfc70af26255842f 100644 (file)
@@ -1,5 +1,5 @@
 
 #[tell zooty our ip]
 # firewall host only--inform serene/zooty of our home IP address to enable back-connections.
-0,14,28,42,56 * * * * (bash /home/fred/feisty_meow/scripts/security/tell_zooty_our_ip.sh serene.feistymeow.org fred fred ) &>>/tmp/${CRONUSER}-cron-tell_zooty_our_ip.log
+0,14,28,42,56 * * * * (bash $HOME/feisty_meow/scripts/security/tell_zooty_our_ip.sh serene.feistymeow.org $CRONUSER $CRONUSER ) &>>/tmp/${CRONUSER}-cron-tell_zooty_our_ip.log
 
index 17cdd55492c6a9c33eb4aa34f625830b09e10d3a..77e41d5c698013224729bf93d3fe9b74945008f8 100644 (file)
@@ -10,5 +10,5 @@
 # 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 &>>/tmp/${CRONUSER}-cron-time_synch.log
 #or
-0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time-c.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