From 343d88906e11f15713ef194fb8c274b3626db052 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Mon, 3 Apr 2017 16:41:47 +0200 Subject: [PATCH] marketing-publicis-ai add env var to cronjobs --- .../pixelpark/marketing-publicis-ai.pixelpark.net.yaml | 10 ++++++++++ .../test-marketing-publicis-ai.pixelpark.net.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml b/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml index 76d76a78..2fe38719 100644 --- a/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml +++ b/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml @@ -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 diff --git a/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml b/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml index 886ffb48..2676ae0a 100644 --- a/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml +++ b/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml @@ -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 -- 2.39.5