Disable Wordpress Cron Print

  • wordpress, cron, wp cron, WordPress, WordPress cron, disable cron, cron job
  • 0

WordPress comes with its own cron system which allows it to perform scheduled tasks. For example, checking for updates, deleting old comments from trash, etc.


The wp-cron file runs every time someone (a real person) or something (a search engine bot) visits your WordPress website. This cron job can take a minute or so to run, depending, on the size of the website. If your website doesn’t have a lot of visitors, it may not be an issue. If there are several visitors at once (or, if a search engine bot comes to index your site for search rankings), the resource usage on the server can increase exponentially in a very short amount of time.

You can turn OFF the automated wordpress cron and set up a cron from your cPanel > cron option.


Login to your cPanel > File manager or from your FTP client.
Open the wp-config.php file in your WordPress installation using a plain text editor
Disable the cron job by going to the bottom of the database settings in that file and adding the following line:
define('DISABLE_WP_CRON', true);
Save the wp-config file.
Create a cronjob from your cPanel > cron option.
- Login to our cpanel.
- Click on the "Cron Jobs" icon in the advanced section.
- Setup a Cron Job
- In the "Hour" drop-down menu, select "Every 6 hours".
- In the "URL" field, type in the following:
 cd /home/cpaneluser/public_html; php -q wp-cron.php > /dev/null 2>&1

(Replace "cpaneluser" with your cpanel user name.)

- Click the "Add New Cron Job" button.

2 - Enable caching: Caching improves the speed of a WordPress site. We strongly suggest using W3 total cache or a similar plugin.


If you still getting complains after you implement caching plugins and disable wp-cron, we can look at some options to improve the performance of the server.


Was this answer helpful?

« Back