Create a server

How to disable WP-Cron and make your site load faster

Want your WordPress site to load faster? One effective solution is disabling the built-in WP-Cron system.
This tool is great for running tasks automatically, but it can slow down page loads if you use it on a large website.

What is WP-Cron?

WP-Cron is the tool WordPress uses to schedule and run various tasks at regular intervals. Examples include:

  • Automatically publishing posts
  • Checking for updates
  • Sending newsletters

Although WP-Cron is useful, it can be heavy on system resources, which may slow down your site’s loading times.

Why disable WP-Cron?

  1. Faster loading: WP-Cron runs in the background and can put a strain on the server, especially if you have a lot of scheduled tasks.
  2. Better performance: Disabling WP-Cron frees up more system resources for higher-priority processes, which boosts your site’s performance.

How to disable WP-Cron

  1. Access the wp-config.php file: Use an FTP client to connect to your web hosting account and locate the wp-config.php file.
  2. Add the code: Open the file in a text editor and add the following line of code: define('DISABLE_WP_CRON', true);
  3. Save the changes: Once you’ve added the code, save the changes to the wp-config.php file.

Scheduling tasks with the server’s Cron ⏱

Even with WP-Cron disabled, your tasks still need to run. To handle that, we’ll use the Cron tool on the server.

  1. Log in to your hosting admin panel, select Services from the menu, and then choose Cron.
  2. Choose the schedule: Set the cron job to run every 30 minutes (or at any other interval you need).
  3. Enter the script address: In the Script address field, type: https://www.mydomain.com/wp-cron.php?doing_wp_cron
  4. Description: In the Description field, enter a name for this cron job, such as wpcron.
  5. Save your changes: Click Save.

After saving, you’ll see a list of all your cron jobs, including the one that runs your scheduled WP-Cron tasks.

Conclusion

Disabling WP-Cron and switching to server-side Cron can significantly improve your site’s performance and help it load faster.
If you have a lot of scheduled tasks or your site is becoming more resource-intensive, this step may be exactly what you need to keep it performing at its best.

You might also like

We support PHP 8.6

We support PHP 8.6

We’re happy to announce that we’re preparing support for the upcoming PHP 8.6 release. What does it mean for your sites in practice, and why should you care about this version? Faster response and lower server load Every PHP generation…

Read more
Critical PHP vulnerability: check the PHP version on your managed server

Critical PHP vulnerability: check the PHP version on your managed server

Today, October 21, 2026, the PHP team is releasing an emergency security update. It fixes two critical flaws in the PHP core that could allow an attacker to run their own code on the server. As soon as it’s out,…

Read more
Migrating your website to WPCloud with a plugin

Migrating your website to WPCloud with a plugin

The WPCloud Migrator plugin moves a WordPress website from any hosting provider to a WPCloud server. It transfers your files, database, plugins, themes, media library, and configuration. You don’t need FTP or SSH access, and even large websites are no problem —…

Read more