]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-ws - remove curl from cronjob
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Fri, 14 Jul 2017 15:17:23 +0000 (17:17 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Fri, 14 Jul 2017 15:17:23 +0000 (17:17 +0200)
customer/fbb-ws/prd-ws01-fbb.pixelpark.net.yaml
customer/fbb-ws/prd-ws02-fbb.pixelpark.net.yaml
customer/fbb-ws/production.yaml
customer/fbb-ws/test.yaml
customer/fbb-ws/tst-ws01-fbb.pixelpark.net.yaml
customer/fbb-ws/tst-ws02-fbb.pixelpark.net.yaml

index bd51a08dce6b6e6f755f0d4787330e384b9a7224..cc1c6517c7a0737ea32265e26e594c7eca10a343 100644 (file)
@@ -8,5 +8,4 @@ infra::profile::cron::cronjobs:
   braintree:
     minute: '0'
   cdm-webservice-push:
-    command: '/usr/bin/curl http://prd-cdmws01-fbb.pixelpark.net/webservices/jobs/push.php?apikey=24BFFD179D4F109B20B3579C198FB41EEE69A5B86447FB8B136F7886A385C12F1C46DC8F'
     minute: '0-59/2'
index 8d9e3d65d6ac4f39e656d149ce98c18a0ec2a0b6..d4ff1d6b5284d96dfce4a7ec5a13fc5d4d836527 100644 (file)
@@ -8,5 +8,4 @@ infra::profile::cron::cronjobs:
   braintree:
     minute: '30'
   cdm-webservice-push:
-    command: '/usr/bin/curl http://prd-cdmws02-fbb.pixelpark.net/webservices/jobs/push.php?apikey=24BFFD179D4F109B20B3579C198FB41EEE69A5B86447FB8B136F7886A385C12F1C46DC8F'
     minute: '1-59/2'
index 1f40ede4a62ef9334c2ddb0ef46c9a8f0459f9fb..595ca45761735b7911a8a92913fbd64b63af36d5 100644 (file)
@@ -44,7 +44,7 @@ infra::profile::cron::cronjobs:
       - 'PATH="/usr/bin:/bin"'
     description: 'Braintree Zahlungsverifikation'
   cdm-webservice-push:
-    command: '/usr/bin/curl http://prd-cdmws01-fbb.pixelpark.net/webservices/jobs/push.php?apikey=24BFFD179D4F109B20B3579C198FB41EEE69A5B86447FB8B136F7886A385C12F1C46DC8F'
+    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: '*'
index 09c8f2c51c1ad38d95063fbe69b792ecfc927b6a..4c29c364eee501468cc20ea2b4dbe730f88e5fa4 100644 (file)
@@ -68,7 +68,7 @@ infra::profile::cron::cronjobs:
       - 'PATH="/usr/bin:/bin"'
     description: 'Braintree Zahlungsverifikation'
   cdm-webservice-push:
-    command: '/usr/bin/curl http://tst-cdmws01-fbb.pixelpark.net/webservices/jobs/push.php?apikey=24BFFD179D4F109B20B3579C198FB41EEE69A5B86447FB8B136F7886A385C12F1C46DC8F'
+    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: '*'
index a9f05f6897576deea4fd4ae4bc7bf92f8db60ab4..cc1c6517c7a0737ea32265e26e594c7eca10a343 100644 (file)
@@ -8,5 +8,4 @@ infra::profile::cron::cronjobs:
   braintree:
     minute: '0'
   cdm-webservice-push:
-    command: '/usr/bin/curl http://tst-cdmws01-fbb.pixelpark.net/webservices/jobs/push.php?apikey=24BFFD179D4F109B20B3579C198FB41EEE69A5B86447FB8B136F7886A385C12F1C46DC8F'
     minute: '0-59/2'
index 91ba53246653bfbabfda361624fc8fc057d57641..d4ff1d6b5284d96dfce4a7ec5a13fc5d4d836527 100644 (file)
@@ -8,5 +8,4 @@ infra::profile::cron::cronjobs:
   braintree:
     minute: '30'
   cdm-webservice-push:
-    command: '/usr/bin/curl http://tst-cdmws02-fbb.pixelpark.net/webservices/jobs/push.php?apikey=24BFFD179D4F109B20B3579C198FB41EEE69A5B86447FB8B136F7886A385C12F1C46DC8F'
     minute: '1-59/2'