Skip to content
Snippets Groups Projects
Verified Commit bd3bf710 authored by morre's avatar morre
Browse files

Fix retention days

parent a61638b3
No related branches found
No related tags found
No related merge requests found
...@@ -17,5 +17,5 @@ ...@@ -17,5 +17,5 @@
- 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 }} -type f -exec rm {} \;' job: 'find /opt/mongodbbackup/* -mtime +{{ mongodb.backup.keep_days - 1 }} -type f -exec rm {} \;'
special_time: daily special_time: daily
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment