How to reduce wp-cron.php consumption

How to reduce wp-cron.php consumption

WordPress has scheduled tasks, such as checking WordPress updates, plugins or theme, backing up, pingbacks, etc.

These tasks are usually triggered when someone visits the web, for example. That is why it is not a problem until you have a peak of visits and thousands of unnecessary checks are executed that have already been checked less than a second ago over-saturing the server:


To avoid this type of consumption, you can control when these checks are executed and limit them to hourly. For example, so that only 24 checks will be done at the end of the day and thus not saturate the server.

First of all, it is recommended to disable it in the wp-config.php file by adding this code before the line that says require_once(ABSPATH . 'wp-settings.php'); which is when WordPress loads this configuration.

define('DISABLE_WP_CRON', true);

Once modified and saved you must create the cron in your dashboard.cdmon, access the Crons tool within accommodation management:


And you set it up with the following data, the default time recommended is every 1 hour, but if for some reason it is necessary to put another value it is possible to put another:
With this you can control the consumption done by WordPress tasks and thus reduce it.

For more information, you can contact us.

    • Related Articles

    • How to set up hosting PHP

      Advanced hosting tools is the Configure PHP option, where you can modify different PHP policies to adjust your hosting to the requirements requested in some CMS applications. These values have a different scale depending on the plan you have ...
    • How to manage our web hosting

      With the "Control Panel" of the web hosting, you can manage your hosting comfortably. The panel is made up of a section with hosting information and different sections with tools. To access the management panel of the hosting, in the "Basic list of ...
    • How to create a GIT repository

      Here's step-by-step how to create and manage a GIT repository from your dashboard. This process is simple and straightforward, allowing you to set up a development environment quickly. Access to hosting Developer hosting Activate developer hosting ...
    • Staging: create test environments without affecting your main website

      The tool ofStaging(or test environment) allows you to create afunctional copy of your websitein an isolated environment. It is ideal for doingtests, apply updates or make changeswithout affecting your main website. Enter the control panel Access the ...
    • How to set up White Label Panel (Management)

      Server domains In the accommodation ofcdmonyou have a white mark panel so that you can give access to another user and allow them to manage the hosting. The advantage of this dashboard is that the user you provide access will only be able to manage ...