[wp-trac] [WordPress Trac] #42660: Single event scheduler

WordPress Trac noreply at wordpress.org
Wed Nov 22 09:33:29 UTC 2017


#42660: Single event scheduler
-------------------------------+------------------------------
 Reporter:  skarabeq           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Cron API           |     Version:  4.9
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by skarabeq):

 @dd32 I'm not sure you are right. Same as result when I set cron

 {{{#!php
 <?php
 wp_schedule_single_event( time(), 'single_action', array( microtime(1) )
 );
 }}}


 and then open base url https://wptest.dev or open https://wptest.dev/wp-
 admin wp cron is triggered.
 I think doesn't matter what I open for triggered wp cron. So If I have 100
 users and they open home page, the wordpress will triggered 100 times this
 single event wp cron. It should be only once.

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


More information about the wp-trac mailing list