• Hi, I have an issue here with wp-cron.php. A process apparently runs using this page with this type of request “/wp-cron.php?check=”, once or twice an hour all day long without causing any problems.

    At about 5:30am edt almost like clockwork, this request starts happening 1 to 2 times a second. I typically end up having to restart the VPS container, to get things back to normal. At times (like today), I was too late, it not only took my VPS node down, it took the entire server down.

    First question, is there a way to determine what maybe calling this?

    Second question, is there a way to stop this all together until I can figure out what is causing the problem?

    WordPress is installed on Windows 2003 server, IIS 6.0, on a VPS node.

    Thx

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Look in the server log. Where are the hits coming from?

    WordPress itself hits its own wp-cron.php file when it determines there is a cron job that it needs to run. wp-cron is what runs it. Usually these are pinging requests after publishing a post, or a future post needs to publish.. Things like that.

    Thread Starter kbevington

    (@kbevington)

    Thx for the quick reply, and sorry for the delay but I needed to recheck those logs. Its NOT reflecting an external IP accessing this file. Its referencing the firewall IP, which is what I thought I saw before, so it seems the http request was coming from the server itself…

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Hmmm.. is there anything in particular that happens at 5:30? Do you have future posts set to publish then?

    Thread Starter kbevington

    (@kbevington)

    no I do not…

    So your saying that would be the only time WP itself would access this file?

    I am assuming Plugins, can and do use this page, is this correct?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    No, WP hits wp-cron whenever there’s a job to be run. This can be at various times all throughout the day.

    Look for a plugin called “WP-Crontrol”. That gives you an admin screen to let you see what wp-cron jobs are waiting.

    I’m not sure what you mean by “plugins can and do use this page”.

    When does wp-cron do its once-a-day tasks?

    Our site also has problems around 5:30 every morning, just when our news guy is trying to post.

    On the other hand, perhaps he’s getting hit by a bunch of wp-cron tasks triggered by his being the first one on the site for a while?

    How can I run wp-cron with a cron command to clear it out before the day’s work? Do I just run the wp-cron.php script?

    Duh, just request any wp page to trigger wp-cron — right?

    Meanwhile, back to the 5:30 a.m. site problems, it suddenly occurred to me to check the root cron, since we’re now on VPS. Sure enough, several tasks were scheduled around that time. I rescheduled them earlier and for good measure set up a daily reboot at 4:15 a.m. It seemed to help.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    When does wp-cron do its once-a-day tasks?

    Doesn’t work that way. wp-cron gets called when any WP Page is hit and there are expired tasks to do. There are not any “once-a-day” tasks by default.

    Duh, just request any wp page to trigger wp-cron — right?

    Yep. If it needs to run, it’ll run.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wp-cron.php request crashes IIS’ is closed to new replies.