How to Disable CRON Job Feature in WordPress

Snippets by IsItWP

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.


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.

Comments  Leave a Reply

  1. Tweets that mention Wordpress Disable CRON job feature – wpsnipp.com Wordpress code snippets for your blog -- Topsy.com February 19, 2011 at 10:59 pm

    […] 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 🙂 […]

  2. Why would you want to disable them?

    1. 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.

    2. Thanks!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!