Home
/
WordPress
/
Configuration
/
How to Disable/Enable the WordPress Cron

How to Disable/Enable the WordPress Cron

How to Disable the WordPress Cron

To disable the internal WordPress cron job system, open the wp-config.php file in the root of your WordPress installation and locate the following line:

define('DB_COLLATE', '');

Right under it, add the following code:

define('DISABLE_WP_CRON', true);

How to Enable the WordPress Cron

If you want to enable the WordPress cron again, change it to:

define('DISABLE_WP_CRON', false);

Note: You can modify the wp-config.php file via FTP, SSH or File Manager in cPanel.

In case you wish to disable the internal WordPress cron with a real cron job please check this tutorial.

Share This Article