• Resolved rajikdeymon

    (@rajikdeymon)


    Hello,

    I have configured the status emails for the start and end of preloading and noticed that the preloading task is often executed multiple times in a row. If this is happen the preloading takes a very long time (Up to one hour instead of a few minutes). I have set up a cache renewal every 120 minutes. I suspect the cause of both the repeated executions and the long runtime is that the wp_cache_full_preload_hook task is scheduled 2 to 3 times.

    I have disabled the default cron job in the wp_config.php file (define( ‘DISABLE_WP_CRON’, true )) and instead, I am using a Windows task that runs every 5 minutes (powershell “Invoke-WebRequest -UseBasicParsing http://localhost/wordpress/wp-cron.php”) on my IIS Server. I Checked the schedules with the plugin “Advanced Cron Scheduler”.

    Best regards

    Raik

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rajikdeymon

    (@rajikdeymon)

    Ok, after deleteing the “Advanced Cron Scheduler” plugin it seems to work for now.

    Plugin Contributor Pete (a11n)

    (@dilirity)

    Hello there!

    I’m happy to hear that you managed to fix the problem.

    I’m marking this thread as “solved”.

    If you run into another issue, don’t hesitate to open another thread!

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Preloading is scheduled multiple times’ is closed to new replies.