mailcow: Fix cronjob to run as root & log output
This commit is contained in:
parent
3630f2a869
commit
86468728aa
1 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,8 @@
|
|||
cron:
|
||||
name: "Backup mailcow daily"
|
||||
minute: "5"
|
||||
hour: "4"
|
||||
job: "MAILCOW_BACKUP_LOCATION=/srv/mailcow-backups /srv/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all --delete-days 5"
|
||||
|
||||
hour: "3"
|
||||
job: "MAILCOW_BACKUP_LOCATION=/srv/mailcow-backups /srv/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all --delete-days 5 2>&1 | /usr/bin/logger -t mailcow_data_backup"
|
||||
become: true
|
||||
# Manual steps:
|
||||
# - Open ports / disable postfix
|
||||
|
|
Loading…
Add table
Reference in a new issue