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

WordPress Trac noreply at wordpress.org
Fri Mar 3 21:24:23 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 j3gaming):

 I figured out how to trigger this 100% of the time, which also ends up
 deleting 1 or multiple cron tasks.

 Environment:
 Linux, with linux system crons running once a minute (crontab -e)
 Webmin
 PHP 7.4
 Wordpress 6.1.1 (DISABLE_WP_CRON = true)


 Within webmin, run a database backup. This usually takes ~5 minutes to
 complete for my website. Doing anything that would generally freeze/stop
 the website & database would probably work

 During that time, the linux cron will run. The result is this error
 message and 1 or more cron jobs being deleted.

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


More information about the wp-trac mailing list