Page 1 of 1

[SOLV]Running multiple scripts simutainiously from 1 script.

Posted: Thu Dec 20, 2007 4:28 am
by impulse()
I have multiple PHP scripts that are executable and I want to run them simutainiously from 1 script, whether that 1 script be a shell script or any other type of script. The scripts can take upto 5 minutes each to run so I don't want something that will execute them 1 after another, I'd like them to all run at the same time.

How would I go about doing this?

Regards,

Posted: Thu Dec 20, 2007 6:50 am
by impulse()
I have since found the answer to be that I need to put each process into the background and then run and process and repeat.

For example, my command line would look like this:

./script.php&./script.php&./script.php