From dc8d095a4fa2d51daddd90f032aa8f4136803d55 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Thu, 19 Oct 2017 17:39:43 +0200 Subject: [PATCH] spk-spar-checker udpate cronjobs --- customer/spk-spar-checker/production.yaml | 4 ++-- customer/spk-spar-checker/test.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/customer/spk-spar-checker/production.yaml b/customer/spk-spar-checker/production.yaml index e1ea3591..ff01c7e0 100644 --- a/customer/spk-spar-checker/production.yaml +++ b/customer/spk-spar-checker/production.yaml @@ -205,9 +205,9 @@ infra::profile::cron::cronjobs: send_logs_via_email: ensure: 'present' user: root - command: 'echo -e "Sehr geehrte Damen und Herren,\n\nanbei die Logfiles vom `/bin/date -d "yesterday" "+%d.%m.%Y"`\n\nMit freundlichen Gruessen\nIT Service" | /usr/bin/mailx -s "Spar-Checker-Logs - Live : `/bin/date -d "yesterday" "+%d.%m.%Y"`" -a sparchecker_access.log-`/bin/date -d "yesterday" "+%Y%m%d"`.gz -a sparchecker_error.log-`/bin/date -d "yesterday" "+%Y%m%d"`.gz gerstenberg@pixelpark.com' + command: '/var/www/cgi-bin/send_logs_via_email.sh' minute: '0' - hour: '6' + hour: '8' description: send webserver logs via email diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index b40ad5e9..b1608e18 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -203,6 +203,6 @@ infra::profile::cron::cronjobs: ensure: 'present' user: root command: '/var/www/cgi-bin/send_logs_via_email.sh' - minute: '37' - hour: '17' + minute: '0' + hour: '0' description: send webserver logs via email -- 2.39.5