From 38188066dfae7b8d5e0f233a514778d59284ad0d Mon Sep 17 00:00:00 2001 From: Raine <raine@ixvd.net> Date: Sat, 21 Oct 2023 19:56:10 +0200 Subject: [PATCH] fix: crontab syntax --- skel/etc/cron.d/restic.crontab | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skel/etc/cron.d/restic.crontab b/skel/etc/cron.d/restic.crontab index 6801d49..34d220f 100644 --- a/skel/etc/cron.d/restic.crontab +++ b/skel/etc/cron.d/restic.crontab @@ -1,10 +1,10 @@ # /etc/cron.d/restic.crontab # every 4 hours create a backup -0 */4 * * * root /opt/scripts/restic/backup.sh +0 */4 * * * root bash /opt/scripts/restic/backup.sh # every day at 2 in the morning, forget old backups -0 20 * * * root /opt/scripts/restic/forget.sh +0 20 * * * root bash /opt/scripts/restic/forget.sh # every 1st of the month at 10 in the morning, prune -50 10 1 * * root /opt/scripts/restic/prune.sh \ No newline at end of file +50 10 1 * * root bash /opt/scripts/restic/prune.sh \ No newline at end of file