]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-ws - Add Cron-Jobs for webservices on dev
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 20 Jun 2017 13:59:01 +0000 (15:59 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 20 Jun 2017 13:59:01 +0000 (15:59 +0200)
customer/fbb-ws/dev-ws-fbb.pixelpark.net.yaml

index 5d8e401899d4261c7b1bb3f16e2520f30826c2c6..c1725bf0159111e345f9ca2c97b6c6186d744e19 100644 (file)
@@ -3,6 +3,7 @@ infra::role: base
 infra::additional_classes:
   - infra::profile::apache_php
   - infra::profile::postfix
+  - infra::profile::cron
 
 accounts::users:
   #Pixelpark
@@ -25,6 +26,56 @@ sudo::configs:
     content: |
       jenkins ALL=(apache) NOPASSWD: ALL
 
+infra::profile::cron::cronjobs:
+  vbb-import:
+    command: '/var/www/webservice/bin/cron-1m-php.ksh'
+    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'
+    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'
+    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'
+    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: