Received email message about cron job every midnight

Every midnight, I will receive this email message about killing a process, which is related to a cron job. I asked the hosting service provider but their reply is that it is probably due to SuiteCRM cron job script.

Has anyone encountered this before? See screenshot below.

Maybe your SuiteCRM cron jobs are hanging for some reason?

You can check a few things.

  • click menu “all”, then “Workflows”, then on the left sidebar, choose “View process audit”. Do you see any unfinished jobs there?

  • in Admin / Schedulers, enter each job and see if it is running successfully or giving errors. This list is what runs in cron.php, so you can try disabling some jobs to see if it solves that error.

  • check both your logs, there could be clues there.

click menu “all”, then “Workflows”, then on the left sidebar, choose “View process audit”. Do you see any unfinished jobs there?

No unfinished job.

check both your logs, there could be clues there.

No error in both logs

in Admin / Schedulers, enter each job and see if it is running successfully or giving errors. This list is what runs in cron.php, so you can try disabling some jobs to see if it solves that error.

Based on the on-going running status and the time that I received the emails, I think these two jobs shown in the screenshots are the culprits. Not sure if I could disable them to test out.

By the way, the SuiteCRM version is 7.10.11

Both those jobs are related to Global search. That is the only feature you lose if you disable them.

Try disabling them, to see if it fixes your problem, at least as a diagnosis.

Then you might need to fix you Index, sometimes it breaks:

https://pgorod.github.io/Reindex-AOD/