From 2557b17ecd8e7ec13a6127128c6c5911fff585ee Mon Sep 17 00:00:00 2001 From: tudor Date: Tue, 3 Mar 2026 13:51:31 +0000 Subject: [PATCH] Update scripts/crontab running the same day, end of day, to maintain photos in the day they were taken --- scripts/crontab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/crontab b/scripts/crontab index 5c928cb..ec59b0a 100644 --- a/scripts/crontab +++ b/scripts/crontab @@ -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