Setup Mautic Cronjobs for Ubuntu, Cloud & VPN Server

mautic cronjobs for ubuntu

Setup Mautic Cronjobs for Ubuntu, Cloud & VPN Server

I assume, Mautic is now installed successfully and you can navigate to all the sections and explore, however without adding Mautic cronjobs for Ubuntu you can not trigger segments and campaigns.

So if you want working segments and campaigns you need to install the Mautic cronjobs for Ubuntu.

  • Connect your mautic using the Putty Application
  • Enter your login username and Password on Putty to access your server
  • Write on the Putty console

crontab -e

  • Press enter key on your Keyboard and copy all the cronjobs from below table

All Required Cronjobs to run your Mautic Efficiently

*/10 * * * * php /var/www/html/bin/consoleĀ mautic:segments:update >Ā /dev/null 2>&1
*/10 * * * * php /var/www/html/bin/console mautic:webhooks:process > /dev/null 2>&1
*/10 * * * * php /var/www/html/bin/console mautic:campaigns:update > /dev/null 2>&1
*/10 * * * * php /var/www/html/bin/console mautic:campaigns:trigger > /dev/null 2>&1
*/10 * * * * php /var/www/html/bin/console mautic:social:monitoring > /dev/null 2>&1
* * * * * php /var/www/html/bin/console mautic:email:sends > /dev/null 2>&1
0 0 * * * php /var/www/html/bin/console mautic:email:fetch > /dev/null 2>&1
0 0 * * * php /var/www/html/bin/console mautic:iplookup:download > /dev/null 2>&1
* * * * * php /var/www/html/bin/console mautic:broadcasts:send > /dev/null 2>&1
* * * * * php /var/www/html/bin/console mautic:import > /dev/null 2>&1

Now,

  • Press CTRL + X key on your keyboard together
  • Press Y key on your Keyboard
  • Pree Enter KEY.

That’s it, your all the required cronjobs for mautic has been successfully setup and now you can use your mautic efficiently.

If you have any queries or need any Mautic related help feel free to reach out to me reach out to me.

ASK NOW

No Comments

Post A Comment