Fix retention days
This commit is contained in:
parent
f7b667ef53
commit
3310077336
1 changed files with 1 additions and 1 deletions
|
|
@ -17,5 +17,5 @@
|
|||
- name: add backup cleanup cronjob
|
||||
cron:
|
||||
name: db backup cleanup
|
||||
job: 'find /opt/postgresbackup/* -mtime +{{ postgresql.backup.keep_days }} -type f -exec rm {} \;'
|
||||
job: 'find /opt/postgresbackup/* -mtime +{{ postgresql.backup.keep_days - 1 }} -type f -exec rm {} \;'
|
||||
special_time: daily
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue