In this tutorial, we will learn how to setup Mautic Cronjob.
Mautic enables brands to integrate and personalize all their digital properties and channels into a seamless customer experience. With it’s modern approach to marketing automation, Mautic’s suite of tools enables marketers to deliver higher performing campaigns and content, and achieve superior results.
Use following commands and timing of the cronjob:
public_html/newsletter/app/console mautic:segments:update 0,15,30,45 * * * *
public_html/newsletter/app/console mautic:campaigns:trigger 10,25,40,55 * * * *
public_html/newsletter/app/console mautic:emails:send 2,7,12,17,22,27,32,37,42,47,52,57 * * * *
public_html/newsletter/app/console mautic:campaigns:rebuild 5,20,35,50 * * * *
public_html/newsletter/app/console mautic:iplookup:download > /dev/null 2>&1 0 0 1,15 * *
Note: Some control panels require php path in the beginning of the command. Replace the “newsletter” with your directory where you have installed Mautic.
Use the commands as shown above but the time is customizable. We have setup the time accordingly our requirements. You can use as it is or change accordingly.
To know more about Mautic cron job visit https://docs.mautic.org/en/setup/cron-jobs
That’s it. We have seen how to setup Mautic Cronjob.
[Need assistance to fix this error or install tools? We’ll help you.]