From 8902c038c28a64c22dfee10acca4243e210777bc Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Fri, 24 Jan 2025 23:28:42 -0300 Subject: [PATCH] update backup cron job to run at 1 AM --- scripts-download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-download.sh b/scripts-download.sh index 578a77d..8bb0eab 100644 --- a/scripts-download.sh +++ b/scripts-download.sh @@ -154,7 +154,7 @@ for FILE in "${FILES[@]}"; do if [ "$FILE" == "clean.sh" ]; then (crontab -l 2>/dev/null; echo "0 0 * * * ${CURRENT_WORKDIR}/$FILE > /tmp/clean.log") | crontab - elif [ "$FILE" == "backup.sh" ]; then - (crontab -l 2>/dev/null; echo "0 0 * * * ${CURRENT_WORKDIR}/$FILE > /tmp/backup.log") | crontab - + (crontab -l 2>/dev/null; echo "0 1 * * * ${CURRENT_WORKDIR}/$FILE > /tmp/backup.log") | crontab - elif [ "$FILE" == "docker-updater.sh" ]; then (crontab -l 2>/dev/null; echo "0 3 */4 * * ${CURRENT_WORKDIR}/$FILE > /tmp/docker-updater.log") | crontab - else