Mautic Community Forums

Documenting cron actions

Before there will be more comprehensive documentation, would someone please elaborate little, what actions should be performed regulary? There are some notices here and there, but no list what is required, what is recommended and why.

Before there will be more comprehensive documentation, would someone please elaborate little, what actions should be performed regulary? There are some notices here and there, but no list what is required, what is recommended and why.

Better documentation for this is coming soon. In the mean time this should help:

You should have:
php app/console mautic:campaigns:trigger -e prod # trigger campaign events
php app/console mautic:leadlists:update -e prod # updates lead lists based on lead changes

Optional for queuing email sending: (good for big lists):
php app/console mautic:email:process -e prod

In terms of the timing for crons - it depends on your need. If you have a campaign which uses a 5 minute interval than running at least 5 minutes is going to be necessary for that to work. So, set that to something appropriate pending your needs, less frequently is certainly better for performance.