]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-ws - redirect error output
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 20 Jun 2017 14:31:07 +0000 (16:31 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 20 Jun 2017 14:31:07 +0000 (16:31 +0200)
customer/fbb-ws/dev-ws-fbb.pixelpark.net.yaml

index f2f0016cb51bd0459ac52b115bb2587c757c9cf6..dd631cf0349a8178e469b1dd355dd2c2716c85ca 100644 (file)
@@ -28,7 +28,7 @@ sudo::configs:
 
 infra::profile::cron::cronjobs:
   vbb-import:
-    command: '/var/www/webservice/bin/cron-1m-php.ksh >> /var/log/fbb_webservice/vbb-import.log'
+    command: '/var/www/webservice/bin/cron-1m-php.ksh >> /var/log/fbb_webservice/vbb-import.log 2>> /var/log/fbb_webservice/vbb-import-error.log'
     minute: '*'
     hour: '*'
     date: '*'
@@ -40,7 +40,7 @@ infra::profile::cron::cronjobs:
       - 'PATH="/usr/bin:/bin"'
     description: 'VBB-cron'
   webservice-push:
-    command: '/var/www/webservice/bin/cron-1m-php.push.ksh >> /var/log/fbb_webservice/webservice-push.log'
+    command: '/var/www/webservice/bin/cron-1m-php.push.ksh >> /var/log/fbb_webservice/webservice-push.log 2>> /var/log/fbb_webservice/webservice-push-error.log'
     minute: '*'
     hour: '*'
     date: '*'
@@ -52,7 +52,7 @@ infra::profile::cron::cronjobs:
       - 'PATH="/usr/bin:/bin"'
     description: 'Webservice-Push'
   braintree:
-    command: '/var/www/webservice/bin/cron-1m-php.braintree.ksh >> /var/log/fbb_webservice/braintree.log'
+    command: '/var/www/webservice/bin/cron-1m-php.braintree.ksh >> /var/log/fbb_webservice/braintree.log 2>> /var/log/fbb_webservice/braintree-error.log'
     minute: '*'
     hour: '*'
     date: '*'
@@ -64,7 +64,7 @@ infra::profile::cron::cronjobs:
       - 'PATH="/usr/bin:/bin"'
     description: 'Braintree Zahlungsverifikation'
   cdm-webservice-push:
-    command: '/var/www/cdm-webservice/bin/workaround.ksh >> /var/log/fbb_webservice/cdm-webservice-push.log'
+    command: '/var/www/cdm-webservice/bin/workaround.ksh >> /var/log/fbb_webservice/cdm-webservice-push.log 2>> /var/log/fbb_webservice/cdm-webservice-push-error.log'
     minute: '*'
     hour: '*'
     date: '*'