Content
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:
1
|
define(‘DB_COLLATE’, ”);
|
Right under it, add the following code:
1
|
define(‘DISABLE_WP_CRON’, true);
|
How to Enable the WordPress Cron
If you want to enable the WordPress cron again, change it to:
1
|
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.