]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-ws - add Test Cron Jobs
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 20 Jun 2017 14:57:59 +0000 (16:57 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 20 Jun 2017 14:57:59 +0000 (16:57 +0200)
customer/fbb-ws/test.yaml
customer/fbb-ws/tst-ws01-fbb.pixelpark.net.yaml [new file with mode: 0644]
customer/fbb-ws/tst-ws02-fbb.pixelpark.net.yaml [new file with mode: 0644]

index 411cab8efafc266feaad8abc6413d200cdcb37d5..8530cb9986e6e9ca952a28e2d7443826107a2cee 100644 (file)
@@ -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 (file)
index 0000000..cd00e5c
--- /dev/null
@@ -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 (file)
index 0000000..3aacddb
--- /dev/null
@@ -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'