From: Philipp Dallig Date: Mon, 26 Jun 2017 11:41:53 +0000 (+0200) Subject: fbb-ws - correct cron jobs X-Git-Tag: v0.1.0~2767 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=07aab6b35c5a99a7967579b3cf003cc1c147cc15;p=pixelpark%2Fhiera.git fbb-ws - correct cron jobs --- diff --git a/customer/fbb-ws/production.yaml b/customer/fbb-ws/production.yaml index 54f2e989..1b291576 100644 --- a/customer/fbb-ws/production.yaml +++ b/customer/fbb-ws/production.yaml @@ -6,7 +6,7 @@ infra::additional_classes: infra::profile::cron::cronjobs: vbb-import: - 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' + command: '/bin/php -f /var/www/webservice/web/webservices/jobs/vbb.php >> /var/log/fbb_webservice/vbb-import.log 2>> /var/log/fbb_webservice/vbb-import-error.log' minute: '*' hour: '*' date: '*' @@ -18,7 +18,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 2>> /var/log/fbb_webservice/webservice-push-error.log' + command: '/bin/php -f /var/www/webservice/web/webservices/jobs/push.php >> /var/log/fbb_webservice/webservice-push.log 2>> /var/log/fbb_webservice/webservice-push-error.log' minute: '*' hour: '*' date: '*' @@ -30,7 +30,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 2>> /var/log/fbb_webservice/braintree-error.log' + command: '/bin/php -f /var/www/webservice/web/webservices/jobs/braintree.php >> /var/log/fbb_webservice/braintree.log 2>> /var/log/fbb_webservice/braintree-error.log' minute: '*' hour: '*' date: '*' @@ -42,7 +42,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 2>> /var/log/fbb_webservice/cdm-webservice-push-error.log' + command: '/bin/php -f /var/www/cdm-webservice/web/webservices/jobs/push.php >> /var/log/fbb_webservice/cdm-webservice-push.log 2>> /var/log/fbb_webservice/cdm-webservice-push-error.log' minute: '*' hour: '*' date: '*' diff --git a/customer/fbb-ws/test.yaml b/customer/fbb-ws/test.yaml index 6e921013..c268b44a 100644 --- a/customer/fbb-ws/test.yaml +++ b/customer/fbb-ws/test.yaml @@ -30,7 +30,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 2>> /var/log/fbb_webservice/vbb-import-error.log' + command: '/bin/php -f /var/www/webservice/web/webservices/jobs/vbb.php >> /var/log/fbb_webservice/vbb-import.log 2>> /var/log/fbb_webservice/vbb-import-error.log' minute: '*' hour: '*' date: '*' @@ -42,7 +42,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 2>> /var/log/fbb_webservice/webservice-push-error.log' + command: '/bin/php -f /var/www/webservice/web/webservices/jobs/push.php >> /var/log/fbb_webservice/webservice-push.log 2>> /var/log/fbb_webservice/webservice-push-error.log' minute: '*' hour: '*' date: '*' @@ -54,7 +54,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 2>> /var/log/fbb_webservice/braintree-error.log' + command: '/bin/php -f /var/www/webservice/web/webservices/jobs/braintree.php >> /var/log/fbb_webservice/braintree.log 2>> /var/log/fbb_webservice/braintree-error.log' minute: '*' hour: '*' date: '*' @@ -66,7 +66,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 2>> /var/log/fbb_webservice/cdm-webservice-push-error.log' + command: '/bin/php -f /var/www/cdm-webservice/web/webservices/jobs/push.php >> /var/log/fbb_webservice/cdm-webservice-push.log 2>> /var/log/fbb_webservice/cdm-webservice-push-error.log' minute: '*' hour: '*' date: '*'