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:
|
cron:
|
||||||
name: "Backup mailcow daily"
|
name: "Backup mailcow daily"
|
||||||
minute: "5"
|
minute: "5"
|
||||||
hour: "4"
|
hour: "3"
|
||||||
job: "MAILCOW_BACKUP_LOCATION=/srv/mailcow-backups /srv/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all --delete-days 5"
|
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:
|
# Manual steps:
|
||||||
# - Open ports / disable postfix
|
# - Open ports / disable postfix
|
||||||
|
|
Loading…
Add table
Reference in a new issue