starting shell script on server: defer acces when running
| From: | Roel Dillen | Date: | Tue, 06 Jun 2006 20:10:07 +0000 |
| Subject: | starting shell script on server: defer acces when running | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-237503@lists.php.net to get a copy of this message | ||
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