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