infra::profile::cron::cronjobs:
mautic_update:
- ensure: 'absent'
+ ensure: 'present'
user: apache
command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:segments:update >>$LOG 2>&1'
minute: '0,15,30,45'
- 'LOG=/var/www/log/mautic/pepperlfuchs/update.log'
description: mautic update
mautic_rebuild:
- ensure: 'absent'
+ ensure: 'present'
user: apache
command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:campaigns:rebuild >>$LOG 2>&1'
minute: '5,20,35,50'
- 'LOG=/var/www/log/mautic/pepperlfuchs/rebuild.log'
description: mautic rebuild
mautic_trigger:
- ensure: 'absent'
+ ensure: 'present'
user: apache
command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:campaigns:trigger >>$LOG 2>&1'
- minute: '*/2'
+ minute: '10,25,40,55'
hour: '*'
description: mautic trigger
environment:
- 'MAUTIC_TENANT pepperlfuchs'
- 'LOG=/var/www/log/mautic/pepperlfuchs/trigger.log'
mautic_emails:
- ensure: 'absent'
+ ensure: 'present'
user: apache
command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:emails:send >>$LOG 2>&1'
minute: '*/5'
- 'LOG=/var/www/log/mautic/pepperlfuchs/emails.log'
description: mautic emails
mautic_messages:
- ensure: 'absent'
+ ensure: 'present'
user: apache
command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:messages:send >>$LOG 2>&1'
minute: '*/5'
- 'LOG=/var/www/log/mautic/pepperlfuchs/messages.log'
description: mautic messages
mautic_email_fetch:
- ensure: 'absent'
+ ensure: 'present'
user: apache
command: 'echo >> $LOG; date >> $LOG; php /var/www/marketing/app/console mautic:email:fetch >>$LOG 2>&1'
minute: '*/5'