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 a30d5c9 commit 460c7de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions container_files/bin/setupcron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,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 $(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 "0 1 * * * /opt/shibboleth-idp/bin/rotateSealerKey.sh >> /var/log/cron.log 2>&1" >> ${CRONFILE}
chmod 644 ${CRONFILE}

#install crontab
Expand Down

0 comments on commit 460c7de

Please sign in to comment.