Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Order of utilities in a script 1

Status
Not open for further replies.

unmlobo

MIS
Apr 11, 2003
64
US
I'm writing a script that does some utilities on our solaris 8 box. I have the three different utilities stacked one right after another. Question is will they all be executed at once or do I have to set some sleep time for one utility to finish before the other starts. These utilities are not for Solaris but for a specific software that we use.I want to run this script in a cron.
 
Provided each utility is called in separate lines in the script and that no line ends with an ampersand (&) and that no utility detach itself from the group process, then the execution will be synchronously sequential, i.e. the second utility will be launched after the completion of the first and so on.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
All the criteria that you mentioned is being met and if that is the case then you just made my life so much eaiser. Thank you so very much PH!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top