[wp-trac] [WordPress Trac] #11505: cron stopped working with standard configuration

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 20 05:53:49 UTC 2009


#11505: cron stopped working with standard configuration
--------------------------+-------------------------------------------------
 Reporter:  neoxx         |       Owner:  westi                 
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  2.9.1                 
Component:  Cron          |     Version:  2.9                   
 Severity:  normal        |    Keywords:  cron reporter-feedback
--------------------------+-------------------------------------------------

Comment(by neoxx):

 Hi,

 @hakre:

 Thanks for your quick reply! - I tried to connect with wget and curl to
 send a post request directly from my server as well as from the machine
 I'm currently working on and get a 200 (with an empty reply) all the time.

 referring to the following code in wp-cron.php this looks to my as desired
 behavior?

 {{{
 if ( !empty($_POST) || defined('DOING_AJAX') || defined('DOING_CRON') )
         die();
 }}}

 Anyway, the cron-jobs get executed if I call wp-cron.php without any
 request, thus as a quick-and-dirty workaround I added a cron-job on my
 server which calls

 {{{
 /usr/local/bin/curl http://www.neotrinity.at/wp-cron.php
 }}}

 every hour to avoid ''?doing_wp_cron'' urls.

 Does this give you already more insights or do you need more tests?

 @miqrogroove:

 Thanks for the link! - Feels good not to be alone. ;) - Anyway, I've
 already tried to change the code according to [http://wpengineer.com/ping-
 problem/] before submitting this ticket but it didn't help either.

 Berny

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11505#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list