Adjust cron jobs for Mautic... is it possible?
-
We have years long experience with mautic

Its important to help with a default cronjob setup. The one from the docs work, but its not optimal. I will help setting it up in a better way together with you, if you like.
For now it would be good, if the out of the box setup for cronjobs in cloudron could also be disabled. I did it by commenting out every line in the crontab.system - but will this be replaced again by an update or not? Its in the /app/data directory. So I think it will not?
I already changed my cronjob setup with a shell file. I trigger this every minute, in case its still running, it will be ignored. I will need to extend it by other optional cronjob tasks - maybe having even two or more scripts. One to run every minute (if server can handle it). And then some maintenance task that don't need to run that often.
Update - the current version can now be found at:
https://github.com/twentyZen/mautic-cronjobsMyself I'm not a script or Linux Professional. Probably that approach can be improved.
-
D dsp76 referenced this topic on
-
For instance - whats the php memory limit on cli? Is it the same limit as for the mautic instance overall?
-
D dsp76 referenced this topic on
-
We have years long experience with mautic

Its important to help with a default cronjob setup. The one from the docs work, but its not optimal. I will help setting it up in a better way together with you, if you like.
For now it would be good, if the out of the box setup for cronjobs in cloudron could also be disabled. I did it by commenting out every line in the crontab.system - but will this be replaced again by an update or not? Its in the /app/data directory. So I think it will not?
I already changed my cronjob setup with a shell file. I trigger this every minute, in case its still running, it will be ignored. I will need to extend it by other optional cronjob tasks - maybe having even two or more scripts. One to run every minute (if server can handle it). And then some maintenance task that don't need to run that often.
Update - the current version can now be found at:
https://github.com/twentyZen/mautic-cronjobsMyself I'm not a script or Linux Professional. Probably that approach can be improved.
hey @dsp76 thanks for sharing... so if I install this shell file to my Mautic installation on Cloudron, it'll speed up the cronjobs?
Unfortunately I'm unable to add an .env file because on Cloudron the app is a "read only filesystem"
-
@jordanurbs have you tried running the cronjob manually . https://docs.cloudron.io/apps/mautic/#system-cron-jobs ? Maybe it's erroring?
-
hey @dsp76 thanks for sharing... so if I install this shell file to my Mautic installation on Cloudron, it'll speed up the cronjobs?
Unfortunately I'm unable to add an .env file because on Cloudron the app is a "read only filesystem"
@jordanurbs you could put those in the /app/data folder which is writeable?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login