Files
docker-mods-uptime-kuma-tim…/root/etc/services.d/cron/run
T
2023-03-02 19:20:45 +00:00

11 lines
208 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [ -f /usr/bin/apt ]; then
# ubuntu
exec /usr/sbin/cron -f -L 1
elif [ -f /sbin/apk ]; then
# alpine
exec /usr/sbin/crond -f -S -l 5
fi