Skip to content

Commit

Permalink
Update setupcron.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey authored Apr 25, 2019
1 parent 0fd3086 commit 366de0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container_files/bin/setupcron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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 $(expr $RANDOM % 59) $(expr $RANDOM % 3) "* * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE}
echo "#rotate IdP data sealer key" > ${CRONFILE}
echo "#rotate IdP data sealer key" >> ${CRONFILE}
echo "0 1 * * * /opt/shibboleth-idp/bin/rotateSealerKey.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE}
chmod 644 ${CRONFILE}

Expand Down

0 comments on commit 366de0a

Please sign in to comment.