[wp-trac] [WordPress Trac] #11505: cron stopped working with standard configuration
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 21 18:19:00 UTC 2009
#11505: cron stopped working with standard configuration
--------------------------+-------------------------------------------------
Reporter: neoxx | Owner: westi
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.9.1
Component: Cron | Version: 2.9
Severity: major | Keywords: has-patch tested
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:49 miqrogroove]:
> Replying to [comment:48 neoxx]:
> > open a second ticket for double-executed cron-jobs
>
> If it's causing a problem in 2.9, yes. Otherwise, wait until it causes
a problem :P
I can only see that one occurring if there are concurrent page loads,
personally.
One trick could be to set a transient that expires after a minute before
the cron starts; and then to check if the transient is set before running
the cron at all. This would introduce some level of throttling. Even then,
though, we'd potentially get dup crons on a site with really heavy traffic
if two concurrent page loads try to add the transient.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11505#comment:50>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list