Questions about Mautic 4.4.13 Cron Jobs: segments:rebuild vs update, and sequential vs parallel execution

Hi everyone,

I’ve recently taken over the maintenance of a Mautic instance from a former colleague. It is currently running on version 4.4.13, which was upgraded from an older version by my predecessor.

We’ve been having some issues with our cron jobs, so I turned to the official documentation for help. However, the information there doesn’t quite match our current setup, and I’m not sure if our configurations are just outdated remnants or if they are valid.

I would appreciate some clarity on the following points:

1. Segment Crons (segments:update vs segments:rebuild) In our environment, we have two separate cron jobs configured: mautic:segments:update and mautic:segments:rebuild. However, the documentation only mentions update. What is the actual difference between these two commands, and is the rebuild command still necessary?

2. Cron Scheduling (Sequential vs Parallel) The official documentation suggests scheduling the core cron jobs independently at different times. In our setup, they are chained together and executed sequentially via a single custom PHP script.

  • Can these cron jobs run completely independently without causing issues if they overlap?

  • If our segments:update process takes a long time, is it actually safer to keep them running sequentially through a PHP script like we do now?

Thank you in advance for your help!