[wp-trac] [WordPress Trac] #49693: Drop duplicate recurring cron events

WordPress Trac noreply at wordpress.org
Fri Jul 3 13:10:08 UTC 2020


#49693: Drop duplicate recurring cron events
-------------------------------------------------+-------------------------
 Reporter:  aidvu                                |       Owner:  whyisjake
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.5
Component:  Cron API                             |     Version:  5.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing needs-dev-note                         |
-------------------------------------------------+-------------------------
Changes (by aidvu):

 * Attachment "49693-5.patch" added.

 Better approach, that also correctly limits to 24 hours per day (for
 intervals less than a day), and to `INTERVAL / HOUR_IN_SECONDS` for longer
 intervals.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49693>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list