Files
hottub/entrypoint.sh
T
jblu ca453b90b4
ci / docker (push) Successful in 28s
a
2026-04-10 15:52:00 -05:00

9 lines
427 B
Bash

#!/bin/sh
CRON_CONFIG_FILE="/etc/crontabs/root"
grep -qF 'echo Come in the water is fine!' $CRON_CONFIG_FILE || echo "${CRON} echo Come in the water is fine!" >> $CRON_CONFIG_FILE
grep -qF 'echo Turn on the bubbles!' $CRON_CONFIG_FILE || echo "${CRON} echo Turn on the bubbles!" >> $CRON_CONFIG_FILE
grep -qF '@reboot' $CRON_CONFIG_FILE || echo "@reboot echo Let's get in the water again!" >> $CRON_CONFIG_FILE
exec crond -f