From 2457d5b435d333f30abc92220e4d646062c97f5d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 15 Nov 2020 11:15:53 +0100 Subject: [PATCH] bundles/backup-client: redirect stderr to /dev/null We have monitoring to determine wether the backup succeeded or not. No need for E-Mails, too. --- bundles/backup-client/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/backup-client/metadata.py b/bundles/backup-client/metadata.py index f403e45..2eb7675 100644 --- a/bundles/backup-client/metadata.py +++ b/bundles/backup-client/metadata.py @@ -16,7 +16,7 @@ def cron(metadata): return { '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), ), },