From dcf2bd647ca7055c2a4eaa6dabe4e677bb59082b Mon Sep 17 00:00:00 2001 From: TechHome Date: Thu, 23 Jul 2020 09:25:10 +0200 Subject: [PATCH] Update crontab-daily-removebackups --- crontab-daily-removebackups | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crontab-daily-removebackups b/crontab-daily-removebackups index af032ff..108385f 100644 --- a/crontab-daily-removebackups +++ b/crontab-daily-removebackups @@ -1,4 +1,4 @@ # crontab -e # Checks daily whether a file in the folder "/mnt/pve/freenas/dump" contains the name vzdump and deletes the file if it's older than 14 days -@daily find /mnt/pve/freenas/dump/ -name 'vzdump*' -type f -mtime +14 -exec rm -f {} \; +@daily /usr/bin/find /mnt/pve/freenas/dump/ -name 'vzdump*' -type f -mtime +14 -exec rm -f {} \;