[wp-hackers] Cron and long running processes

Peter Westwood peter.westwood at ftwr.co.uk
Sun Jul 27 08:16:30 GMT 2008

Sean Hickey wrote:
> Hi all,
> I'm wondering if WP's built in "cron" feature is suitable for long
> running processes? It's clear it takes a page hit to kick off the cron
> process, but what's not clear (to me) is whether the visitor is forced
> to sit there waiting until the cron job finishes.
 From what I recall it spawns of a second HTTP request out-of-band of 
the user request to call the page.

So a long running process should not affect the user.

However,  you can only run for as long as the runtime limit set for your 
php pages by your host.


Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5 

More information about the wp-hackers mailing list