From: Philipp Dallig Date: Tue, 20 Jun 2017 15:11:41 +0000 (+0200) Subject: fbb-ws - apply webservice cron to prod X-Git-Tag: v0.1.0~2801^2~8 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=47a5db1e3551fe7485ad14a987b35a6720fc85c3;p=pixelpark%2Fhiera.git fbb-ws - apply webservice cron to prod --- diff --git a/customer/fbb-ws/prd-ws01-fbb.pixelpark.net.yaml b/customer/fbb-ws/prd-ws01-fbb.pixelpark.net.yaml new file mode 100644 index 00000000..cd00e5cd --- /dev/null +++ b/customer/fbb-ws/prd-ws01-fbb.pixelpark.net.yaml @@ -0,0 +1,11 @@ +--- + +infra::profile::cron::cronjobs: + vbb-import: + minute: '0-59/2' + webservice-push: + minute: '0-59/2' + braintree: + minute: '0-59/2' + cdm-webservice-push: + minute: '0-59/2' diff --git a/customer/fbb-ws/prd-ws02-fbb.pixelpark.net.yaml b/customer/fbb-ws/prd-ws02-fbb.pixelpark.net.yaml new file mode 100644 index 00000000..3aacddbb --- /dev/null +++ b/customer/fbb-ws/prd-ws02-fbb.pixelpark.net.yaml @@ -0,0 +1,11 @@ +--- + +infra::profile::cron::cronjobs: + vbb-import: + minute: '1-59/2' + webservice-push: + minute: '1-59/2' + braintree: + minute: '1-59/2' + cdm-webservice-push: + minute: '1-59/2' diff --git a/customer/fbb-ws/production.yaml b/customer/fbb-ws/production.yaml index f15abc44..d558c937 100644 --- a/customer/fbb-ws/production.yaml +++ b/customer/fbb-ws/production.yaml @@ -2,6 +2,58 @@ infra::role: base infra::additional_classes: - infra::profile::apache_php + - infra::profile::cron + +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' + minute: '*' + hour: '*' + date: '*' + month: '*' + weekday: '*' + user: apache + environment: + # - 'MAILTO=root' + - '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' + minute: '*' + hour: '*' + date: '*' + month: '*' + weekday: '*' + user: apache + environment: + # - 'MAILTO=root' + - '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' + minute: '*' + hour: '*' + date: '*' + month: '*' + weekday: '*' + user: apache + environment: + # - 'MAILTO=root' + - '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' + minute: '*' + hour: '*' + date: '*' + month: '*' + weekday: '*' + user: apache + environment: + # - 'MAILTO=root' + - 'PATH="/usr/bin:/bin"' + description: 'CDM-Webservice-Push' + repo::remi_php71: true