Skip to content
Snippets Groups Projects
Verified Commit 5f3fc107 authored by psy's avatar psy
Browse files

set to 06:00 and remove file glob

parent 8351cee7
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,6 @@ ...@@ -17,6 +17,6 @@
- name: add backup cleanup cronjob - name: add backup cleanup cronjob
cron: cron:
name: mongodb backup cleanup name: mongodb backup cleanup
job: 'find /opt/mongodbbackup/* -mtime +{{ mongodb.backup.keep_days - 1 }} -type f -exec rm {} \;' job: 'find /opt/mongodbbackup/ -mtime +{{ mongodb.backup.keep_days - 1 }} -type f -exec rm {} \;'
minute: "17" minute: "0"
hour: "12" hour: "6"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment