Anybody know how wp-cron.php in #WordPress works, exactly? It can be invoked explicitly, and it a also runs implicitly at the end of other HTTP GET requests? Is that right?
And then, if there are 1000 things in the queue, what does it do? Are the queue entries all "deliver asap" or can I schedule things for the future?
@j12t It’s not a queue. But yes, if 1000 things are scheduled to run they will all run.
It runs in the background though so doesn’t hold up requests, which is why it’s spawned at the end of other requests.
Because web requests have a limited execution time it’s better to turn off the regular HTTP-invoked cron and run WP-cron from a system cron.
Does that make sense? Too technical? Other questions?