Are you looking for a way to disable CRON services within WordPress? While there’s probably a plugin for this, we have created a quick code snippet that you can use to disable CRON job feature in WordPress.
Instructions:
All you have to do is add this code to your wp-config.php file:
define('DISABLE_WP_CRON', true);
Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly add code snippets in WordPress, so you don’t accidentally break your site.
If you liked this code snippet, please consider checking out our other articles on the site like: 27 best WordPress themes for affiliate marketing and how to save partial form data in WordPress.
[…] This post was mentioned on Twitter by Zachary Cobb, Y Combinator Newest!, HN Firehose, Newsery 3, WPSNIPP and others. WPSNIPP said: #wordpress Disable CRON job feature http://bit.ly/eqsNo7 #blog please RT 🙂 […]
Why would you want to disable them?
Hi Ryan,
Because it runs on page load and some people would rather set things up with a little more control and run every few hours etc, You can visit this website and they have a short tutorial about setting it up.
http://dansgalaxy.co.uk/2010/10/03/how-to-disable-wordpress-wp-cron/
Thanks!