• Resolved moscolonilucas

    (@moscolonilucas)


    Disable the wordpress wp-cron on all the websites of my server through the wp-config.php file:
    https://ibb.co/gJjHqsK

    Then replace it with the job of a real cron job:
    https://ibb.co/7Nh80Yt

    But when I access the consumption details on my server, it shows how the wordpress cron is still running:
    https://ibb.co/g4LBcCt

    Using the Wp Crontrol plugin, it appears to me that the cron is disabled. But as I mentioned, it continues to consume resources and appears in the consumption details of my hosting.

    From already thank you very much.

    • This topic was modified 2 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • I would question how the data in your 3rd screenshot is created. This could also be the PHP scripts called by system cron. Since these also come in via http, they generate the same processes on the server as a WP cron – with the difference that you can control the timing of the system cron itself.

    Thread Starter moscolonilucas

    (@moscolonilucas)

    Hello, good afternoon. Excuse me for the delay to answer you.

    That is, is it normal that it appears because the real cron is running them every 30min?

    I think it was a misconception of mine, I thought that in the server consumption details only the real crons had to appear (wget -O /dev/null -o /dev/null https://yoursite.com/wp-cron.php?doing_wp_cron) and not the wordpress crons that appear in the third screenshot.

    Yes, you probably misunderstood that. Of course, a PHP file is still executed via the system cron. How else should the cronjob work. You call via http exactly the cron file of WordPress. And that is the PHP process that you see then.

    Thread Starter moscolonilucas

    (@moscolonilucas)

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I disable wordpress cron, but it keeps running and consuming resources’ is closed to new replies.