* 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
12 lines
275 B
Plaintext
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 |