From: Chris Koeritz Date: Tue, 7 Feb 2017 18:09:01 +0000 (-0500) Subject: cleaned more crons X-Git-Tag: 2.140.90~212 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=840dcb655020aa651069b9003f1dc50b78e37f6f;p=feisty_meow.git cleaned more crons 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). --- diff --git a/infobase/configuration/cron/tell_zooty_our_ip.crontab b/infobase/configuration/cron/tell_zooty_our_ip.crontab index 37322d24..1d9aacef 100644 --- a/infobase/configuration/cron/tell_zooty_our_ip.crontab +++ b/infobase/configuration/cron/tell_zooty_our_ip.crontab @@ -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 diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index 17cdd554..77e41d5c 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -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