Update crontab-daily-removebackups

This commit is contained in:
TechHome
2020-07-23 09:25:10 +02:00
committed by GitHub
parent 826a77854d
commit dcf2bd647c

View File

@@ -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 {} \;