bundles/backup-client: fix cronjob
This commit is contained in:
parent
0749fc75c5
commit
741f3b0032
1 changed files with 3 additions and 1 deletions
|
@ -16,6 +16,8 @@ def cron(metadata):
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'cron': {
|
'cron': {
|
||||||
'backup': '{} 1 * * * root /usr/local/bin/generate-backup',
|
'backup': '{} 1 * * * root /usr/local/bin/generate-backup > /dev/null'.format(
|
||||||
|
(node.magic_number % 60),
|
||||||
|
),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue