Mautic Community Forums

cron jobs setup

Hello peter can you check my cron jobs its set up right or not.

Hello peter can you check my cron jobs its set up right or not.

I can send you mine, if you want to. The only/most important thing is that the campaign jobs are executed after another and not concurrently.

This is how I configured my cron jobs (segments, campaigns and ip lookup):

0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * php /path/to/mautic/app/console mautic:segments:update -e=prod >/dev/null 2>&1 1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * php /path/to/mautic/app/console mautic:campaigns:rebuild -e=prod >/dev/null 2>&1 2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * php /path/to/mautic/app/console mautic:campaigns:trigger -e=prod >/dev/null 2>&1 */1 * * * * php /path/to/mautic/app/console mautic:iplookup:download -e=prod >/dev/null 2>&1

okey thanks peter