[wp-trac] Re: [WordPress Trac] #7068: cron improvement
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 22 20:46:52 GMT 2008
#7068: cron improvement
-------------------------+--------------------------------------------------
Reporter: hailin | Owner: hailin
Type: enhancement | Status: reopened
Priority: high | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by westi):
Replying to [comment:8 Otto42]:
> I believe this race condition is unavoidable as long as it is driven off
of hits to the site itself, as those hits are unpredictable. Two in quick
succession can always cause wp-cron to hit twice so the most you can do is
reduce it.
>
Indeed. But for a single server hosted site we should be able to do
something very reliable.
I don't think in core wordpress.org we should be trying to cope for multi
server multi db scenarios as they would be better served by running the
cron jobs manually triggered from a true cron job allowing you to do all
the semaphore or mutex work you wanted.
--
Ticket URL: <http://trac.wordpress.org/ticket/7068#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list