From 840dcb655020aa651069b9003f1dc50b78e37f6f Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 7 Feb 2017 13:09:01 -0500 Subject: [PATCH] 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). --- infobase/configuration/cron/tell_zooty_our_ip.crontab | 2 +- infobase/configuration/cron/time_synch.crontab | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1