From: Andreas Gerstenberg Date: Thu, 19 Oct 2017 15:39:43 +0000 (+0200) Subject: spk-spar-checker udpate cronjobs X-Git-Tag: v0.1.0~2258 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=dc8d095a4fa2d51daddd90f032aa8f4136803d55;p=pixelpark%2Fhiera.git spk-spar-checker udpate cronjobs --- 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