
03-18-2008
|
|
Registered User
|
|
|
Join Date: Mar 2008
Location: MUMBAI, INDIA
Posts: 41
|
|
Quote:
Originally Posted by era
You should also take care to set the exit code properly from the script, so that the shell script which collects these can examine it.
I guess something like if OUT_STATUS is "Success" exit 0, otherwise some higher number (0 means success).
You are in control of the first shell script (and if not, create a wrapper script which you are in control of), so simply make it return success (zero) under the conditions when the second and third scripts can be run, and non-zero if not.
|
O.K,
Thanking you....
|