homelab/builds/send-report/init.sh

10 lines
181 B
Bash
Raw Normal View History

2023-10-29 19:46:39 +01:00
#!/bin/sh
CRON_SCHEDULE=${CRON_SCHEDULE:-"0 2 * * 0"}
echo "$CRON_SCHEDULE /usr/local/bin/send.sh" > /etc/crontabs/root
echo "Service ready on schedule $CRON_SCHEDULE"
crond -f