From c66b2d3f475ef00d47c0c9622f842f76742c3a5d Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Tue, 20 Jun 2017 16:57:59 +0200 Subject: [PATCH] fbb-ws - add Test Cron Jobs --- customer/fbb-ws/test.yaml | 50 +++++++++++++++++++ .../fbb-ws/tst-ws01-fbb.pixelpark.net.yaml | 11 ++++ .../fbb-ws/tst-ws02-fbb.pixelpark.net.yaml | 11 ++++ 3 files changed, 72 insertions(+) create mode 100644 customer/fbb-ws/tst-ws01-fbb.pixelpark.net.yaml create mode 100644 customer/fbb-ws/tst-ws02-fbb.pixelpark.net.yaml diff --git a/customer/fbb-ws/test.yaml b/customer/fbb-ws/test.yaml index 411cab8e..8530cb99 100644 --- a/customer/fbb-ws/test.yaml +++ b/customer/fbb-ws/test.yaml @@ -27,6 +27,56 @@ sudo::configs: content: | jenkins ALL=(apache) NOPASSWD: ALL +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 php::fpm::pools: diff --git a/customer/fbb-ws/tst-ws01-fbb.pixelpark.net.yaml b/customer/fbb-ws/tst-ws01-fbb.pixelpark.net.yaml new file mode 100644 index 00000000..cd00e5cd --- /dev/null +++ b/customer/fbb-ws/tst-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/tst-ws02-fbb.pixelpark.net.yaml b/customer/fbb-ws/tst-ws02-fbb.pixelpark.net.yaml new file mode 100644 index 00000000..3aacddbb --- /dev/null +++ b/customer/fbb-ws/tst-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' -- 2.39.5