[SOLV]Running multiple scripts simutainiously from 1 script.

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

[SOLV]Running multiple scripts simutainiously from 1 script.

Post 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,
Last edited by impulse() on Thu Dec 20, 2007 6:50 am, edited 1 time in total.
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post 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
Post Reply