[wpmu-trac] [WordPress MU Trac] #1140: wp_schedule_event happens multiple times (wp cron)

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Oct 29 23:36:31 UTC 2009


#1140: wp_schedule_event happens multiple times (wp cron)
------------------------+---------------------------------------------------
 Reporter:  mdgross     |        Owner:  somebody
     Type:  defect      |       Status:  closed  
 Priority:  high        |    Milestone:  2.7.1   
Component:  component1  |      Version:  2.7.1   
 Severity:  major       |   Resolution:  wontfix 
 Keywords:  cron        |  
------------------------+---------------------------------------------------

Comment(by jamescollins):

 mdgross, in your experiment you are using the sitemeta table to store the
 list of times. This is global to all blogs on your WPMU install.

 So that would mean that if blog1 was loaded, it would write to that array,
 then if blog2 was loaded it, would also write to that array.

 This could be the cause for the cron running so often.

 What happens if you re-run your experiment using get_option() /
 update_option() instead of get_site_option() / update_site_option() ?

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1140#comment:4>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list