diff --git a/files/bin/sendtierbeacon.sh b/files/bin/sendtierbeacon.sh new file mode 100644 index 0000000..dc13f84 --- /dev/null +++ b/files/bin/sendtierbeacon.sh @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -z "$TIER_BEACON_OPT_OUT" ]; then +# logger -p $IMAGENAME &MAINTAINER &VERSION +fi \ No newline at end of file diff --git a/files/bin/startcron.sh b/files/bin/startcron.sh new file mode 100644 index 0000000..571fe0e --- /dev/null +++ b/files/bin/startcron.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cron +touch /var/log/cron.log diff --git a/files/tier-crontab b/files/tier-crontab new file mode 100644 index 0000000..590dd74 --- /dev/null +++ b/files/tier-crontab @@ -0,0 +1,2 @@ +#send daily ping to TIER Central +0 0 * * * /usr/bin/sendtierbeacon.sh >> /var/log/cron.log 2>&1