Files
scrutiny/rootfs/etc/services.d/cron/run
T

11 lines
358 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# Cron runs in its own isolated environment (usually using only /etc/environment )
# So when the container starts up, we will do a dump of the runtime environment into a .env file that we
# will then source into the crontab file (/etc/cron.d/scrutiny.sh)
(set -o posix; export -p) > /env.sh
echo "starting cron"
cron -f -L 15