From ba09085e4bc534ee4bf1a96825e9739bfadbe51e Mon Sep 17 00:00:00 2001 From: Tudor Sitaru Date: Fri, 10 Oct 2025 11:40:51 +0100 Subject: [PATCH] adding images to volume --- crontab | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crontab b/crontab index 1ae30d0..57514c0 100644 --- a/crontab +++ b/crontab @@ -1,9 +1,9 @@ # ParentZone Downloaders Cron Schedule # Run both downloaders daily at 2:00 AM -0 2 * * * root /app/scheduler.sh >> /var/log/cron.log 2>&1 +0 2 * * * /app/scheduler.sh >> /var/log/cron.log 2>&1 # Keep cron log file from growing too large (weekly cleanup) -0 3 * * 0 root find /var/log -name "cron.log" -size +100M -exec truncate -s 50M {} \; 2>/dev/null || true +0 3 * * 0 find /var/log -name "cron.log" -size +100M -exec truncate -s 50M {} \; 2>/dev/null || true # Cleanup old snapshot files (keep last 90 days) -30 3 * * 0 root find /app/snapshots -name "*.html" -mtime +90 -delete 2>/dev/null || true +30 3 * * 0 find /app/snapshots -name "*.html" -mtime +90 -delete 2>/dev/null || true