diff --git a/tasks/main.yaml b/tasks/main.yaml index adc1c7c..67d592d 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -45,7 +45,7 @@ minute: "0" hour: "8" user: root - job: find /var/backups -path /var/backups/gitea-* -mtime +7 -type f -exec rm {} + + job: find /var/backups -path '/var/backups/gitea-*' -mtime +7 -type f -exec rm {} + cron_file: gitea-backup-cleanup - name: Check if environment.env will get changed