![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Call scripts in Rpm's: %pre %post sectino | vibhor_agarwali | Linux | 2 | 03-30-2009 02:18 AM |
| how to call two programs simultaneously | vipinccmb | UNIX for Dummies Questions & Answers | 1 | 08-11-2008 02:48 AM |
| How to call C functions in shell scripts? | agarwal | Shell Programming and Scripting | 5 | 04-09-2008 01:03 AM |
| Mother Board Drivers ...........?? | haisubbu | UNIX for Dummies Questions & Answers | 1 | 12-07-2006 01:13 PM |
| Making a SOAP call from within unix shell scripts | Laud12345 | Shell Programming and Scripting | 2 | 02-16-2005 02:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
To call many scripts from mother one simultaneously
Hi,
I need to rin few other scripts from one main (mather) script. Working in ksh on LINUX. The only one condition - it should be run in parallel. I mean I have to be able to call 20 scripts from this mother script in parallel (start them in the same time). Does somebody know how to do it? Thanks, Juliy Last edited by juliyp; 06-08-2009 at 04:53 PM.. |
|
||||
|
Simple loop to start them all
#!/bin/ksh
# the one-ring script # to start them all # a variable to hold all of the script names SCRIPTLIST="script1 script2 script3 ... script20" # start all child scripts in background for foo in $SCRIPTLIST ; do ${foo} & done # only continue when they all finish wait # rest of master script ... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|