WordPress’s internal cron system is disabled

#1046739
  • Resolved Pete Bella
    Rank Math free

    I am told by Godaddy that the issue isn’t on their end with the wordpress site, and I need a work around from Rank Math… my wp-config.php file has this line of code in it

    /** Sets up WordPress vars and configs */
    require_once(__DIR__.’/../configs/wp-config-hosting.php’);

    and I can not find the file in my root directory… what do I do to see my analytics in my wordpress plugin?

    Thanks,
    Pete

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    To resolve the message regarding the internal cron system being disabled, you will need to check your wp-config.php file, which your web host should be able to help you with since they manage your website files.

    Here’s how you can do that:

    1. Access your website files: You can do this via FTP or through your hosting provider’s file manager.
    2. Locate the wp-config.php file: This file is usually found in the root directory of your WordPress installation.
    3. Edit the file: Open the wp-config.php file and look for the line that says:
      <code class="language-php">define('DISABLE_WP_CRON', true);

      If you find it, change true to false, or if the line does not exist, you can add:

      <code class="language-php">define('DISABLE_WP_CRON', false);
    4. Save the changes: After making the changes, save the file and upload it back to your server if necessary.

    This should enable the internal cron system of WordPress again.

    Additionally, if you want to ensure that scheduled tasks run correctly, consider setting up a real server cron job to trigger WP-Cron. You can find more information on how to do this in the WordPress documentation.

    Hope that helps.

    You missed the point!!!!

    Here is what I said…

    my wp-config.php file has this line of code in it…

    /** Sets up WordPress vars and configs */
    require_once(__DIR__.’/../configs/wp-config-hosting.php’);

    Which means it is redirecting to an alternate php file, is there code I can put in my wp-config.php file without creating any issue?

    Hello,

    The line in your wp-config.php is including another file, which may be overriding standard settings. You’ll need to check with your host to locate or access that /configs/wp-config-hosting.php file. This is not something Rank Math can help as this is a hosting-related config file.

    In the meantime, to help with Analytics and scheduled tasks, please ensure this line is added to your wp-config.php as described by my colleague:

    
    define('DISABLE_WP_CRON', false);

    If that doesn’t help, your server’s real cron job must be set up correctly which you can check with your web host as well.

    Don’t hesitate to get in touch with us if you have any other questions.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘WordPress’s internal cron system is disabled’ is closed to new replies.