]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
marketing-publicis-ai add env var to cronjobs
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 3 Apr 2017 14:41:47 +0000 (16:41 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 3 Apr 2017 14:41:47 +0000 (16:41 +0200)
customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml
customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml

index 76d76a780a48aab690d62a301140e930da1308f6..2fe387196d9fbda1f8f0d32c418b01ef9c96d16f 100644 (file)
@@ -118,28 +118,38 @@ site::profile::cron::cronjobs:
     command: 'php /var/www/marketing/app/console mautic:segments:update'
     minute: '0,15,30,45'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=live'
     description: mautic update
   mautic_rebuild:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:campaigns:rebuild'
     minute: '5,20,35,50'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=live'
     description: mautic rebuild
   mautic_trigger:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:campaigns:trigger'
     minute: '10,25,40,55'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=live'
     description: mautic trigger
   mautic_emails:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:emails:send'
     minute: '*/5'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=live'
     description: mautic emails
   mautic_messages:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:messages:send'
     minute: '*/5'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=live'
     description: mautic messages
index 886ffb480316df07e5504ceffdf278cc23144636..2676ae0a2f5a24ca4ed4250c8fc0abd058c4b702 100644 (file)
@@ -123,12 +123,16 @@ site::profile::cron::cronjobs:
     command: 'php /var/www/marketing/app/console mautic:segments:update'
     minute: '0,15,30,45'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=test'
     description: mautic update
   mautic_rebuild:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:campaigns:rebuild'
     minute: '5,20,35,50'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=test'
     description: mautic rebuild
   mautic_trigger:
     user: apache
@@ -136,15 +140,21 @@ site::profile::cron::cronjobs:
     minute: '10,25,40,55'
     hour: '*'
     description: mautic trigger
+    environment:
+      - 'MAUTIC_ENV=test'
   mautic_emails:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:emails:send'
     minute: '*/5'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=test'
     description: mautic emails
   mautic_messages:
     user: apache
     command: 'php /var/www/marketing/app/console mautic:messages:send'
     minute: '*/5'
     hour: '*'
+    environment:
+      - 'MAUTIC_ENV=test'
     description: mautic messages
\ No newline at end of file