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

WordPress Trac noreply at wordpress.org
Wed Sep 2 16:51:38 UTC 2020


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

Comment (by aidvu):

 Thanks for the reply @peterwilsoncc. Fwiw, I'd probably go for both.

 A `wp_maybe_schedule()` as the new function to properly ensure a single
 recurring event is registered, and a limiter for recurring events which
 conforms to the requirements you mentioned above.

 Will try to get both done in the coming weeks.

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


More information about the wp-trac mailing list