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 01:45 AM
What is a wrapper script thana UNIX for Dummies Questions & Answers 1 01-28-2008 05:11 AM
How to write script for this ? me_haroon AIX 0 07-01-2006 03:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-11-2006
Registered User
 

Join Date: Jun 2006
Posts: 3
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  
Old 06-12-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,297
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:02 AM.


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

Content Relevant URLs by vBSEO 3.2.0