starting shell script on server: defer acces when running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a shell script I want to run which generates an html page after it
runs some tests on the software I am writing.

I call the script with exec(…);

The tests take more than 2 minutes to complete.

If I try to run more than one test at the same time: trouble.

 

I want to solve this by checking somehow whether the tests are running.

If so, then the php code just waits until the running test are complete,
referring the second user to the same results page as the first.

 

Ideas anyone?

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: 5/06/2006
 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux