Posted: October 26, 2019 at 12:07 am
I was wondering why messages did not arrive. So I checked the message activities and saw that over a 1000 messages where correctly generated but were stuck in “queued for sending”. I then checked a couple of messages and sent them manually. Worked, indicator turned from blue to green. Now I was wondering why all messages in the queue are not being sent. I finally ended up in the cron manager and realised that one particualy cron job was missing “AHEE__EE_Messages_Scheduler__sending”. I readded it and now the messages in the queue are getting sent.
Nobody deleted that cron job. Why does it, and only this one disappears out of a sudden? How is that possible? And most importantly, how to make sure that does not happen again?
We can’t tell you why that cron was missing on you site for certain but its possible the request to reschedule the events timeed out or threw an error which prevented the tasks from being set.
Have you checked the servers error logs from around the time that the messages stopped sending? Any error from EE? Memory exhausted errors etc from around that time?
The messages system schedules 2 tasks at once, like this:
What this is doing is checking id the ‘batch generation’ action was set, if not then none of them should have been set and it re-adds them. On your site, you somehow still have batch generation set, so the above doesn’t run.
Do you have a
I guess we will have to investigate in the logs and check if there was like a memory issue or anything else that might have caused it.
But, at least I now know for the future the important and relations between those Messages_Scheduler crons. 🙂
The support post ‘AHEE__EE_Messages_Scheduler__sending gone, messages not send’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.