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

WordPress Trac noreply at wordpress.org
Wed Mar 15 22:52:57 UTC 2023


#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 galbaras):

 > Does this logic re-fire a cron?

 No, it just (almost) ensures that settings are updated when they need to
 be, and the cron setting will be covered too.

 >  You may not want the cron to be re-trying to fire for the next hour

 It won't fire any differently. While the database connection is down, cron
 won't "know" what to do, but (nearly) as soon as it comes up, the cron
 setting will be updated, and the next run will do the right thing.

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


More information about the wp-trac mailing list