From 765853add6288e86e62ea0cd34b6ddffc0ad5f4f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Dec 2024 01:21:18 +0300 Subject: [PATCH] fix: create directory for backups --- setup_backup_cron.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup_backup_cron.sh b/setup_backup_cron.sh index 5e6e01d..2453053 100755 --- a/setup_backup_cron.sh +++ b/setup_backup_cron.sh @@ -1,2 +1,3 @@ +mkdir backups (crontab -l 2>/dev/null; echo "* */12 * * * $(pwd)/backup.sh") | crontab -