[wpmu-trac] [WordPress MU Trac] #1140: wp_schedule_event happens multiple times (wp cron)
WordPress MU Trac
wpmu-trac at lists.automattic.com
Fri Oct 30 18:45:43 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 mdgross):
You're a genius... the cron was being added to multiple blogs. Thank you
for your help.
Replying to [comment:4 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:5>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list