WP Delay Cron
WP Delay Cron
Description
The WP Delay Cron plugin will prevent wordpress from running its cron tool for every page view.
For high traffic sites, this can result in a considerable drop in server load.
Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload
wpdelaycron.phpto the/wp-content/plugins/wpdelaycron/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Faq
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.
Reviews
I was getting lots of Error 508s but site is performing much better now
By tomodea on September 3, 2016
I was getting lots of Error 508 - Resource Limit is Reached messages but this plugin has made a huge difference to resource usage. Thanks.
Mandatory if you want to reduce traffic on your site
By emilio_grande on September 3, 2016
It works reducing server load caused by wp cron scheduled taks every page visit.
I use it combined with wp crontrol to set the schedule of cron events I want to keep.
Changelog
0.0.6
Tested on latest wordpress – 4.5.1
0.0.5
Fix multi site bug
0.0.4
Bug Fixes
0.0.3
Bug Fixes
0.0.2
Store counter in wp options instead of a file
0.0.1
Initial Release.