mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-17 13:33:57 +00:00
8 lines
347 B
Plaintext
8 lines
347 B
Plaintext
# Set PATH so cron jobs can find node/npm
|
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
# Set timezone for cron jobs
|
|
TZ=${TZ}
|
|
|
|
# Run automation according to CRON_SCHEDULE; redirect both stdout & stderr to Docker logs
|
|
${CRON_SCHEDULE} /bin/bash /usr/src/microsoft-rewards-script/scripts/docker/run_daily.sh >> /proc/1/fd/1 2>&1
|