How to Disable Cron Jobs in Wordpress?

Short tutorial on How to Disable Cron Jobs in Wordpress.

Disable Default wp-cron.php Behavior

It is recommended to disable cron jobs within the WordPress dashboard for your security and performance purpose. Unnecessary cron jobs may affect the website performance and loading speed.

WordPress uses a file called wp-cron.php as a virtual cron job in order to automate things like publishing scheduled posts, checking for plugin or theme updates, sending email notifications and more.

This would not be efficient on high traffic and your site would result in inefficient performance. So, it is always wise to disable the automatic update on cron jobs and make it manual.

In this short tutorial we will discuss on how to disable cron jobs in wordpress. Follow the steps given below to disable cron jobs in a wordpress for performance and security optimization.

Step 1: Login to your Cpanel → File Manager Cpanel Filemanager
Step 2: Go to Public_html → Wordpress Directory
Under Public Html Select Wp Directory
Step 3:
Select → wp-config.php file → Right Click → Edit
Wp Config Edit
Step 4: Add the code
below highlighted in red:
/** The Database Collate type. Don't change this if in doubt. */
define(DB_COLLATE, );
define(DISABLE_WP_CRON, true);

Step 5: Click Save
You have now successfully disabled automatic cron jobs in your wordpress account.


Related Topics