[wp-trac] [WordPress Trac] #34143: Silent cron failure if spawn_cron() fails to make the POST request

WordPress Trac noreply at wordpress.org
Sun Oct 4 10:26:13 UTC 2015


#34143: Silent cron failure if spawn_cron() fails to make the POST request
-------------------------------+------------------------------
 Reporter:  idrarig            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Cron API           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => reporter-feedback
 * focuses:  administration =>
 * version:  4.3.1 =>


Comment:

 Thanks for the report, idrarig.

 Can you explain a little more about your configuration, and why WordPress
 is set up as `localhost` but is accessed via `localhost:5555`?

 The reason the response isn't checked is because the request is designed
 to be a fast, non-blocking one that is simply triggered on the current
 page load. The return value is of no interest to `spawn_cron()`, and
 checking its response would mean blocking the page load while the request
 occurs.

 P.S. you can check that WP-Cron is working as expected on your site with
 [https://wordpress.org/plugins/wp-crontrol/ the WP Crontrol plugin].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34143#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list