Update scripts/crontab
All checks were successful
Build Docker Image / build (push) Successful in 1m30s

running the same day, end of day, to maintain photos in the day they were taken
This commit is contained in:
2026-03-03 13:51:31 +00:00
parent 9bfad50e71
commit 2557b17ecd

View File

@@ -3,7 +3,7 @@ SHELL=/bin/bash
PATH=/usr/local/bin:/usr/bin:/bin
# Run both downloaders daily at 2:00 AM
0 2 * * * /app/scripts/scheduler.sh >> /var/log/cron.log 2>&1
0 23 * * * /app/scripts/scheduler.sh >> /var/log/cron.log 2>&1
# Keep cron log file from growing too large (weekly cleanup)
0 3 * * 0 find /var/log -name "cron.log" -size +100M -exec truncate -s 50M {} \; 2>/dev/null || true