Run three shell script simultaneously

Posted by user1419563 on Stack Overflow See other posts from Stack Overflow or by user1419563
Published on 2012-10-16T04:52:55Z Indexed on 2012/10/16 5:02 UTC
Read the original article Hit count: 114

Filed under:
|

I have three shell script which I am running as below-

sh -x script1.sh

sh -x script2.sh

sh -x script3.sh

So each script is executed sequentially one at a time after previous one finished executing.

Problem Statement:-

Is there any way I can execute all the three above scripts at same time from a single window? I just want to execute script1, script2, script3 at the same time. If you think of some cron JOB scheduling script1 at 3 AM, script2 at 3AM, script3 at 3AM (all three scripts at the same time, simultaneously). That's what I need, I need to execute all the three scripts simultaneously.

© Stack Overflow or respective owner

Related posts about bash

Related posts about shell