From 46c8c1b3a5aff966960c690303808553f627c4de Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Tue, 11 Apr 2017 14:21:25 +0200 Subject: [PATCH] marketing-publicis-ai add cronjob email-fetch --- .../pixelpark/marketing-publicis-ai.pixelpark.net.yaml | 9 +++++++++ .../test-marketing-publicis-ai.pixelpark.net.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml b/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml index 08d52d69..839f39ce 100644 --- a/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml +++ b/customer/pixelpark/marketing-publicis-ai.pixelpark.net.yaml @@ -181,3 +181,12 @@ infra::profile::cron::cronjobs: - 'MAUTIC_ENV=live' - 'LOG=/var/www/log/mautic/pepperlfuchs/messages.log' description: mautic messages + mautic_email_fetch: + user: apache + command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:email:fetch >>$LOG 2>&1' + minute: '*/5' + hour: '*' + environment: + - 'MAUTIC_ENV=live' + - 'LOG=/var/www/log/mautic/pepperlfuchs/email-fetch.log' + description: mautic email fetch diff --git a/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml b/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml index f4c8eb6f..d42a2dad 100644 --- a/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml +++ b/customer/pixelpark/test-marketing-publicis-ai.pixelpark.net.yaml @@ -163,3 +163,12 @@ infra::profile::cron::cronjobs: - 'MAUTIC_ENV=test' - 'LOG=/var/www/log/mautic/pepperlfuchs/messages.log' description: mautic messages + mautic_email_fetch: + user: apache + command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:email:fetch >>$LOG 2>&1' + minute: '*/5' + hour: '*' + environment: + - 'MAUTIC_ENV=live' + - 'LOG=/var/www/log/mautic/pepperlfuchs/email-fetch.log' + description: mautic email fetch \ No newline at end of file -- 2.39.5