[wp-trac] [WordPress Trac] #57271: Cron unschedule / reschedule event errors

WordPress Trac noreply at wordpress.org
Wed Dec 7 11:16:27 UTC 2022


#57271: Cron unschedule / reschedule event errors
----------------------------------------+------------------------------
 Reporter:  domainsupport               |       Owner:  audrasjb
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Cron API                    |     Version:  6.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by domainsupport):

 Replying to [comment:8 peterwilsoncc]:
 > > One theory I had was concurrent requests to a WordPress installation
 from different hostnames (with and without "www." or with and without SSL
 for example, they don't have to be completely different domains) firing
 the same cron event?
 > `wp-cron.php` sets a transient in order to prevent events running in
 this manner but this might be possible if the time between two requests is
 very quick or if the site is running a plugin that disable transients.

 I'd forgotten about this comment where he says he's not a high traffic
 site and his cron is set to run by the system so does that not rule out
 the concurrent request theory? https://wordpress.org/support/topic/cron-
 unschedule-event-error-for-hook/page/2/#post-16255896

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57271#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list