CronManager Extra Occassionally Stops Running Jobs

Hello,

I have been using the CronManager Extra for probably the last year now to run snippets automatically, and this weekend I experienced an issue for the second time where nearly all of my cron jobs suddenly stopped running. I had not added any new jobs last week or updated the cron job scheduling configuration in any way on my server or in the manager, but looking at the last run time of the CronManager it looked like the majority of my jobs, many of which are scheduled to run once a day if not several times a day, had last run four days ago. A single cron job had run the previous day, but that seemed to be the exception.

I experienced this issue once before and at that time I attempted to remove the cron job from my server and re-add it, as well as manually run the jobs to get them working again, and that seemed to do the trick, as the jobs were all running as expected again shortly after. This time I did not do anything at all to fix the issue but after about 30 minutes I refreshed the CronManager page, getting ready to try one of these solutions again but all of the jobs had ended up firing in that time and were back to working normally.

This makes me wonder if something about the MODX dashboard being inactive for a certain period of time might cause the CronManager to also become inactive, because I don’t believe any development had been done on this site for most of the week before I identified this issue.

Has anyone else had a similar experience with the CronManager Extra? I would greatly appreciate any suggestions on how to avoid I might go about preventing this issue going forward.

Were there any (related) error messages in the MODX error log (or maybe even the PHP error log)? Maybe one of the snippets that CronManager runs threw an error, that prevented all other snippets from being executed.


That wouldn’t make sense. It’s exactly the point of using cron, that it doesn’t require interaction on the site to be triggered.