Skip to content

Commit

Permalink
add needed cron files
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Feb 2, 2017
1 parent ccd60a3 commit de46ac5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions files/bin/sendtierbeacon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
if [ -z "$TIER_BEACON_OPT_OUT" ]; then
# logger -p $IMAGENAME &MAINTAINER &VERSION
fi
3 changes: 3 additions & 0 deletions files/bin/startcron.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
cron
touch /var/log/cron.log
2 changes: 2 additions & 0 deletions files/tier-crontab
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#send daily ping to TIER Central
0 0 * * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1

0 comments on commit de46ac5

Please sign in to comment.