Prevent cron from running every time a page is viewed. Good for high traffic sites.
|Author:||Ray Pulsip=== WP Delay Cron === (profile at wordpress.org)|
|WordPress version required:||3.0.1|
|WordPress version tested:||4.5.1|
|Added to WordPress repository:||27-04-2015|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||1 705|
Click to start download
Why wouldn’t you want to run the cron every page it?
WordPress makes a seperate web request to run the cron. For every page hit the server
has to process 2 web requests. This is wastefull and adds up on a high traffic site.
How long does it delay for?
Pick a number in the settings page. This will wait to run the cron until that many
page views occur. If you pick 10, then you will run the cron every 10 page views.
Does this work with multi site installs?
Yes. The options page will show up under each individual site, not in the network admin site.
Tested on latest wordpress – 4.5.1
Fix multi site bug
Store counter in wp options instead of a file