RE: [PHP] [background process] not once, but twice
| From: | Chris W. Parker | Date: | Tue, 27 Apr 2004 17:34:18 +0000 |
| Subject: | RE: [PHP] [background process] not once, but twice | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184792@lists.php.net to get a copy of this message | ||
Jose de Zarate <mailto:jzarate@havet.es>
on Friday, April 30, 2004 1:39 AM said:
> background. The code would be:
> exec('php -f sendBulletin.php > temp &');
>
> it -more or less- work fine. Whe I click 'send bulletin', the process
> start in the background and I get my page back without having to wait
> for it to finish. But if I try to do it again, and the previous
> process has not finished yet, then php will hang untill that process
> finishes.
i've never tried this before and am therefore just going on a hunch, a
notion, an idea.
would it make a difference if you did something like '> temp1 &', '>
temp2 & ', etc.?
chris.