The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 10:01 AM
how to write script in tar naveeng.81 Shell Programming and Scripting 1 04-18-2008 12:04 PM
New wrapper script will be developed to wrap two ksh scripts ishai82 Shell Programming and Scripting 3 03-17-2008 04:45 AM
What is a wrapper script thana UNIX for Dummies Questions & Answers 1 01-28-2008 08:11 AM
How to write script for this ? me_haroon AIX 0 07-01-2006 06:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-12-2006
chiru chiru is offline
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
  #2 (permalink)  
Old 06-12-2006
jim mcnamara jim mcnamara is online now Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0