Cronjobs for Mautic in HestiaCP? how i can do it?

Thank you very much for your advice.

The solution is: remove the letters “php” in the cronjob, and leave it like this:

/home/YOURUSER/web/yoursubdomain.YOURDOMAIN.com/public_html/bin/console mautic: segments: update

If you don’t use a subdomain, it is simply:

/home/YOURUSER/web/YOURDOMAIN.com/public_html/bin/console mautic: segments: update

And regarding the execution times, Mautic has a guide to do it, but basically it is to put every 5, 10, 15, 20, etc … minutes, it depends on the cronjob.

I recommend creating another user to create any website or application within hestia, we should not use the admin user.

Goodday.

1 Like