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

WordPress Trac noreply at wordpress.org
Fri May 3 05:34:18 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:  needs-unit-tests needs-patch  |     Focuses:
------------------------------------------+------------------------------

Comment (by galbaras):

 > To clarify, the cron log I attached above shows I have a cron run firing
 every 2 minutes

 Oh, right.

 > The original patch [https://github.com/WordPress/wordpress-
 develop/pull/3726 suggested patch] (just ignore the warning) would fix the
 issue that I am observing on my sites.

 Maybe not, because it prevents duplicates and fixes the error message, but
 if you're not getting duplicates, then it won't stop the problem of
 unschedule/reschedule failures.

 Maybe we should look at environmental issues. How is everyone triggering
 their crons?

 I use the cPanel cron once every 15 minutes and have `DISABLE_WP_CRON`
 defined to block it running on page loads. It's highly unlikely my crons
 run more than once in that timeframe, unless there's a cPanel issue,
 perhaps.

 More specifically, I use a script on a central host to cURL wp-cron.php on
 my sites remotely, in case this matters. And I'm on a shared Litespeed
 server.

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


More information about the wp-trac mailing list