- 'APPLICATION_ENV=production'
- 'LOG=/var/www/log/cron/ping.api.log'
description: ping api
+ send_logs_via_email:
+ ensure: 'absent'
+ user: root
+ command: 'echo -e "Sehr geehrte Damen und Herren,\n\nanbei die Logfiles vom `date -d "yesterday" '+%d.%m.%Y'`\n\nMit freundlichen Gruessen\nIT Service" | /usr/bin/mailx -s "Spar-Checker-Logs - Live : `date -d "yesterday" '+%d.%m.%Y'`" -a sparchecker_access.log-`date -d "yesterday" '+%Y%m%d'`.gz -a sparchecker_error.log-`date -d "yesterday" '+%Y%m%d'`.gz gerstenberg@pixelpark.com'
+ minute: '0'
+ hour: '6'
+ description: send webserver logs via email
+
+
+
- 'APPLICATION_ENV=production'
- 'LOG=/var/www/log/cron/ping.api.log'
description: ping api
+ send_logs_via_email:
+ ensure: 'absent'
+ user: root
+ command: 'echo -e "Sehr geehrte Damen und Herren,\n\nanbei die Logfiles vom `date -d "yesterday" '+%d.%m.%Y'`\n\nMit freundlichen Gruessen\nIT Service" | /usr/bin/mailx -s "Spar-Checker-Logs - Stage : `date -d "yesterday" '+%d.%m.%Y'`" -a sparchecker_access.log-`date -d "yesterday" '+%Y%m%d'`.gz -a sparchecker_error.log-`date -d "yesterday" '+%Y%m%d'`.gz gerstenberg@pixelpark.com'
+ minute: '0'
+ hour: '6'
+ description: send webserver logs via email