Re: [PHP] How to launch a background task from a web page

2008-10-30 Thread Richard Heyes
I have some long running scripts which I need to launch from a web page and have them run in the background, but which should not cause the web page to wait until the script finishes. Reading the manual on the backtick and exec() operators seems to imply that the PHP function will be suspended

Re: [PHP] How to launch a background task from a web page

2008-10-30 Thread Daniel P. Brown
On Thu, Oct 30, 2008 at 11:38 AM, Tony Marston [EMAIL PROTECTED] wrote: I have some long running scripts which I need to launch from a web page and have them run in the background, but which should not cause the web page to wait until the script finishes. Reading the manual on the backtick and

RE: [PHP] How to launch a background task from a web page

2008-10-30 Thread bruce
hey tony... in linux, using the causes the process to run in the background. do a quick search/test from google, and test using php, from the cmdline. ie php ? time1 a=`ls -al ` time2 echo time2 - time1 ? the above isn't correct, but you should get the idea... once you've got the