Files
xteve_lazystream/root/etc/services.d/crond/run
taylorbourne 3a11a46f09 move to s6 overlay structure (#13)
* move to s6 overlay structure

* Use alpine:latest and latest s6

* cleanup Dockerfile

* use .env file on docker run

* change mappings so all under one folder

* Update README

* change cron default to hourly to keep things updated

* add section about editing xteve settings

* add nice 'logging' to stdout
2020-03-05 11:13:14 -08:00

12 lines
275 B
Plaintext

#!/usr/bin/with-contenv bash
CRON_FILE=/config/cron.txt
if [ -f "$CRON_FILE" ]; then
. $CRON_FILE
else
echo "[crond-setup] No cron definition found..."
echo "[crond-setup] By default, cronjob will run every night at midnight unless cron file is configured."
fi
crond -f