• Resolved audreysmith

    (@audreysmith)


    HI

    I am hoping that the WP Crontrol plugin can help me disable wp-cron.php from running every time a page loads on a site

    details below

    I have a site that that gets a lot of hits.
    The problem is that this site uses lots of server resources because wp-cron.php
    runs every time that a page is loaded.

    I can disable wp-cron.php
    and set up wp-cron to run in cpanel once a night and wp-cron does run once a night
    but,
    this stops wordpress plugins from automatically updating even though these plugins are set for automatic update.

    With wp-cron.php disabled and cron set to run nightly for the site-
    Instead of these plugins updating – in the wordpress admin plugin section-
    if a plugin needs updating-
    right under where it says “Automatic Updates Enabled”
    it says automatic updates are scheduled to run in a number of hours
    and it also says that the plugin has not updated because there may be a problem with cron.
    If I manually update the plugin – it works just fine.

    In addition, with wp-cron.php disabled and cron set to run nightly for the site- the wordfence plugin (free version) stops emailing me if a plugin needs updating or if it is abandoned, etc.

    Is there a way to only disable wp-cron.php for every page load and still keep wp-cron.php working for plugin updates?

    Thanks
    Audrey

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘disable wp-cron for page load’ is closed to new replies.