Running 2 scripts at the same time
Posted: Fri Dec 15, 2006 3:12 pm
Hello,
I have script (scriptA.php) that loops through lots of data and makes some operations on each loop. This takes some time to run, around 20-200 secs.
Also, i have another script (scriptB.php) that show statistics about the processes scriptA.php makes.
I run scriptA.php and scriptB.php in their own window. My problem is, scriptB.php does not print statistics results until scriptA.php finishes its processes.
How can I make scriptB.php work even scriptA.php didn't finish its processes?
TIA!
I have script (scriptA.php) that loops through lots of data and makes some operations on each loop. This takes some time to run, around 20-200 secs.
Also, i have another script (scriptB.php) that show statistics about the processes scriptA.php makes.
I run scriptA.php and scriptB.php in their own window. My problem is, scriptB.php does not print statistics results until scriptA.php finishes its processes.
How can I make scriptB.php work even scriptA.php didn't finish its processes?
TIA!