![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Identifying and grouping OS processes and APP processes | wilsonee | SUN Solaris | 2 | 09-30-2008 09:26 AM |
| Monitoring Processes - Killing hung processes | ukndoit | UNIX for Advanced & Expert Users | 4 | 01-17-2008 04:30 AM |
| FTP Files Sequentially | harim | UNIX for Advanced & Expert Users | 1 | 10-31-2007 10:54 AM |
| read or search the item in a file sequentially by position using unix shell script? | lok | UNIX for Dummies Questions & Answers | 6 | 07-12-2006 06:53 AM |
| processes | master_6ez | Shell Programming and Scripting | 3 | 11-24-2004 09:48 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Run Processes Sequentially
I've written two shell scripts where script A calls script B, passing two parameters.
Script B takes about a minute to complete (loading and processing data). When running script B once from script A, everything works ok. However, when running script B more than once from script A, things start to mess up: e.g with Script A in the format below, the second run starts before the first run has finished. ScriptB Param1A Param2A ScriptB Param1B Param2B Can anyone advise how I can introduce a check to see if script B has completed before starting it again with new parameters? For info I'm using hp/ux 11. I'm new to Unix and new to this forum, so thanks for your help in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|