Home Forums Event Espresso Premium Delayed email (continued) Reply To: Delayed email (continued)

Reply To: Delayed email (continued)

Author Replies
Josh # Posted on May 8, 2018 at 5:01 pm

Hi there,

Sending the messages out on a separate request actually solves some problems, and that’s why the message scheduler was built into Event Espresso 4’s messages system.

Since you’re having some issues with sending messages on the same request, what you could do is shorten the interval so the messages will go out on a separate request, but the delay will be much shorter. For example to change the interval to 30 seconds, you add this to a site functions plugin:

function my_change_ee_message_cron_interval( $schedules ) {
    $schedules['ee_message_cron'] = array(
        'interval' => 30,
        'display' => __('EE Messages get processed every 30 seconds')
    return $schedules;
add_filter( 'cron_schedules', 'my_change_ee_message_cron_interval', 11 ); 
Do NOT follow this link or you will be banned from the site!