bundles/backup-client: redirect stderr to /dev/null
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
We have monitoring to determine wether the backup succeeded or not. No need for E-Mails, too.
This commit is contained in:
parent
84d1984cc1
commit
2457d5b435
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ def cron(metadata):
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'cron': {
|
'cron': {
|
||||||
'backup': '{} 1 * * * root /usr/local/bin/generate-backup > /dev/null'.format(
|
'backup': '{} 1 * * * root /usr/local/bin/generate-backup > /dev/null 2>&1'.format(
|
||||||
(node.magic_number % 60),
|
(node.magic_number % 60),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue