The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to write a wrapper c code to return uid using getuid() function pwd High Level Programming 4 05-13-2008 07:01 AM
how to write script in tar naveeng.81 Shell Programming and Scripting 1 04-18-2008 09:04 AM
New wrapper script will be developed to wrap two ksh scripts ishai82 Shell Programming and Scripting 3 03-17-2008 12:45 AM
What is a wrapper script thana UNIX for Dummies Questions & Answers 1 01-28-2008 04:11 AM
How to write script for this ? me_haroon AIX 0 07-01-2006 03:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2006
Registered User
 

Join Date: Jun 2006
Posts: 3
Stumble this Post!
What is wrapper script and how to write

hi guys,
I have a requirement to run a script 4 times with different parameter values.
the 4 jobs have to run parallely which actually access different data of same table and deletes.

how can i achieve this.................?

Thanks in advance
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-12-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,795
Stumble this Post!
Code:
#!/bin/ksh
myfile.sh  parm1 parm2 &
myfile.sh  parm3 parm4 &
myfile.sh  parm5 parm6 &
myfile.sh  parm7 parm8 &
wait
This runs the scripts in parallel. If you want them run sequentially, remove the "&" and the wait statement.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0