Support

Home Forums Event Espresso Premium Delayed email (continued) (2)

Delayed email (continued) (2)

Posted: June 18, 2018 at 6:46 am

Viewing 5 reply threads


wmnf

June 18, 2018 at 6:46 am

This is a continuation of the following ticket:

https://eventespresso.com/topic/delayed-email-continued/

Found another just now sitting in the Queued for Sending since yesterday morning. Are you saying someone has to visit the ticket page or which page exactly has to be visited in or for cron to do its job? We get loads of traffic on our website day and night. Still cannot understand why this is the only plugin we’ve experienced an email sending issue.

  • This topic was modified 6 years, 4 months ago by wmnf.
  • This topic was modified 4 years, 8 months ago by Garth.


Josh

  • Support Staff

June 18, 2018 at 9:14 am

Are you saying someone has to visit the ticket page or which page exactly has to be visited in or for cron to do its job?

wp_cron is normally fired on any page visit, but you can override the default behavior by following this guide:

https://bitswapping.com/2010/10/using-cron-to-trigger-wp-cron-php/


wmnf

June 18, 2018 at 12:51 pm

Actually, I have wp-cron disabled and setup as cron job that runs every 15 minutes. I just viewed the cron log and it is running without error. What could be the issue?

We are self hosted on a Linode VPS. We dumped SendGrid long ago because of delays and use our own Smarthost now.


Josh

  • Support Staff

June 19, 2018 at 3:45 pm

The issue could be your cron job isn’t running the tasks normally run by wp-cron. Can you check to see if these actions ever get fired?
AHEE__EE_Messages_Scheduler__sending
AHEE__EE_Messages_Scheduler__generation


wmnf

June 25, 2018 at 10:46 am

Do you mean if I am firing those actions? Or how would I check to see?

I did have the code in this post set at one time, but it is no longer…

https://eventespresso.com/topic/delayed-email-continued/


Josh

  • Support Staff

June 25, 2018 at 4:44 pm

One difference to be aware of with a system cron is if the time passes and the task did not run it is lost and will never run. WP-Cron will run tasks regardless of how old they are. Tasks will sit in a queue until a page is loaded to trigger them, thus no task will ever be lost.

Still cannot understand why this is the only plugin we’ve experienced an email sending issue.

That’s because Event Espresso is likely the only plugin that relies on wp_cron to generate send emails. All other plugins fire emails on the same request.


wmnf

June 25, 2018 at 5:12 pm

Ok, I’ve enabled wp-cron and will see if that presents an issue or resolves. We also had an issue with the setting of On the same request.

Viewing 5 reply threads

The support post ‘Delayed email (continued) (2)’ 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.

Event Espresso