bundles/backup-client: do logging
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-06 08:05:41 +02:00
parent 3fc51d9eba
commit fa4fe51155
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 17 additions and 1 deletions

View file

@ -19,7 +19,7 @@ def cron(metadata):
return {
'cron': {
'backup': '{} 23 * * * root /usr/local/bin/generate-backup > /dev/null 2>&1'.format(
'backup': '{} 23 * * * root /usr/local/bin/generate-backup > /var/log/backup-client/backup.log 2>&1'.format(
(node.magic_number % 60),
),
},