wp-cron Out of Memory

Home Forums Calendar Products Events Calendar PRO wp-cron Out of Memory

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1216428
    Matt
    Participant

    We are running The Events Calendar Pro with a large number of events (19,000+).
    Recently we have noticed that a wp-cron task spiked the CPU usage and caused the server to use a large amount of resources.

    What Event Calendar Pro tasks are run on cron? Can these be optimised in anyway?

    Thanks,
    Pete

    #1216692
    George
    Participant

    Hey Pete,

    Thanks for reaching out.

    There are number of wp-cron tasks inside of our plugins. The best way to find all of them is to search for instances of the WordPress function wp_schedule_event() within our plugin code.

    When it comes to optimizing these in some way, there’s unfortunately not anything “out of the box” that our plugins would provide that would help to optimize the cron tasks. You could modify the code extensively, you could alter your site’s web hosting infrastructure to improve its performance, or you could reduce the number of events—but there’s not really anything within the plugin options or features directly that would allow for optimization of the cron tasks.

    Some of the Events Calendar Pro functions that most use WP-Cron are related to recurring events, recurring events cleanup tasks, etc.

    Please let me know if there are any other issues or questions I can try to help with!

    — George

    #1228207
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘wp-cron Out of Memory’ is closed to new replies.