diff --git a/files/bin/sendtierbeacon.sh b/files/bin/sendtierbeacon.sh index 1d09a9a..b2ba8c9 100644 --- a/files/bin/sendtierbeacon.sh +++ b/files/bin/sendtierbeacon.sh @@ -1,5 +1,5 @@ #!/bin/sh -LOGHOST="cerif.org" +LOGHOST="collector.testbed.internet2.edu" LOGPORT="5000" if [ -s /opt/tier/env.bash ]; then . /opt/tier/env.bash diff --git a/files/bin/startup.sh b/files/bin/startup.sh index 860c840..bfd573d 100644 --- a/files/bin/startup.sh +++ b/files/bin/startup.sh @@ -6,8 +6,8 @@ CRONFILE=/opt/tier/tier-cron #build crontab file with random start time between midnight and 3:59am echo "#send daily beacon to TIER Central" > ${CRONFILE} -echo "* * * * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE} -echo "#"$(expr $RANDOM % 59) $(expr $RANDOM % 3) "* * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE} +echo "#* * * * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE} +echo $(expr $RANDOM % 59) $(expr $RANDOM % 3) "* * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE} chmod 644 ${CRONFILE} #install crontab