Mautic Community Forums

Cron Job Alternative

Hi,



unfortunately I am not able to use cron which is mandatory as I understood:

https://github.com/mautic/documentation/tree/master/setup



Is there an alternative to the console to trigger the functions (e.g. via PHP get variables)?



Thank you,



Peter

Hi,

unfortunately I am not able to use cron which is mandatory as I understood:
https://github.com/mautic/documentation/tree/master/setup

Is there an alternative to the console to trigger the functions (e.g. via PHP get variables)?

Thank you,

Peter

Afraid there isn’t. Is it that your host doesn’t allow Php directly from cron? Can you still execute a web script as a cron job? One user had the issue where the host required a Web accessible script for the cron job. But the host allowed system() so the user was able to wrap the commands in a simple php script.

Thanks,
Alan

https://www.easycron.com provides online cron job service. It’s an alternative to task scheduler(cron job) solution under Windows & Linux.

Hi @Agnon !

Are you (or anyone) using easycron.com with Mautic?

Due to limitations in shared hostings it’s impossible to execute this kind of cronjobs and I tried to use easycron.com but, if I’m not wrong, it’s mandatory to specify the path to a file containing a script.

Could you share with us an example of how you’re using easycron.com with Mautic?

It’s really awesome that we can use Mautic in low-requirement hostings, but I guess this issue is really a problem for marketers with basic programming skills.

Thanks!

Cron jobs are not the problem, there are services like the mentioned EasyCron e.g. The point is that I do not manage to trigger the console with parameters (like php /path/to/mautic/app/console mautic:leadlists:update --env=prod).

Peter