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

WordPress Trac noreply at wordpress.org
Tue Jan 30 01:06:35 UTC 2024


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

 Interestingly, some of my sites had nested schedules that made no sense,
 e.g. a WooCommerce task as the child of another plugin's task. So this
 issue could be caused by data corruption, possibly something that was
 created by a temporary bug, and then retained in the system.

 I've just audited my sites' cron schedules again and found several sites
 with multipe `itsec_cron` entries with no data whatsoever, which should
 never have been saved.

 I've also found cron tasks with no specified action, and tasks belonging
 to plugins that have been removed from the respective sites.

 Is there some way to rebuild the cron schedule?

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


More information about the wp-trac mailing list