[wp-trac] Re: [WordPress Trac] #9005: Cron spawning improvements

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 31 18:14:14 GMT 2009


#9005: Cron spawning improvements
-------------------------+--------------------------------------------------
 Reporter:  azaozz       |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  2.8      
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by azaozz):

 Replying to [comment:3 Denis-de-Bernardy]:
 > ... On wp_head, the job would need to complete before the actual page
 gets loaded...

 No, it does "head" AJAX request that is asynchronous (doesn't stop the
 execution of the rest of the scripts) and additionally has a timeout of
 10ms (0.01 sec.) so the browser doesn't wait for returned content.
 "wp_footer" would have been a good place for it too, however many themes
 don't have the wp_footer() call.

 Also many hosts seem to give access to the "real" cron through their
 control panels. The changes to wp-cron make it easier to run it from
 crontab as a scheduled task either through wget, lynx or CLI if available.

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


More information about the wp-trac mailing list