Your software
My Mautic version is: 3.1.2
My PHP version is: 7.3
My Database type and version is: 5.7
Your problem
I’d like to know how and which cronjobs to implement? I installed Mautic on-premise on an Debian 10 virtual host running Apache 2.4
I know there i need to trigger some executions via CRON to let the system execute several tasks.
But what user should run it? Is it “root” or “www-data” or a special “mautic” user?
And how to add the lines into /etc/cron.d/… file? Those tables are very picky about what the task do and will also emit local emails if the execution outputs any results.
From the examples i took this kind of execution:
0,15,30,45 * * * * root /usr/bin/php /systems/mautic/htdocs/app/console mautic:segments:update 5,20,35,50 * * * * root /usr/bin/php /systems/mautic/htdocs/app/console mautic:campaigns:update 10,25,40,55 * * * * root /usr/bin/php /systems/mautic/htdocs/app/console mautic:campaigns:trigger 10,25,40,55 * * * * root /usr/bin/php /systems/mautic/htdocs/app/console mautic:messages:send 10,25,40,55 * * * * root /usr/bin/php /systems/mautic/htdocs/app/console mautic:emails:send