php in background exec() function

Posted by albertopriore on Stack Overflow See other posts from Stack Overflow or by albertopriore
Published on 2011-01-10T12:26:10Z Indexed on 2011/01/10 16:53 UTC
Read the original article Hit count: 120

Filed under:
|
|

Hi! I made this script to test the execution of php in background

foreach($tests as $test) { exec("php test.php ".$test["id"]); }

to run php in background like suggested in php process background and How to add large number of event notification reminder via Google Calendar API using PHP? and php execute a background process

But the script do not run faster than when it was all in one script without the addition of test.php.

what I'm doing wrong?

thanks in advance!

© Stack Overflow or respective owner

Related posts about php

Related posts about process