update backup cron job to run at 1 AM
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
This commit is contained in:
parent
b54222eb23
commit
8902c038c2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user