Hi guys,
I need help to run my script from particular point,
at the moment my script contain children scripts and looks like this :
If I have to run the parent script, it took around 1 hour.
So I want if the one of the children script failed, I want to run from that script failed and then continue the rest of them.
Any idea how to do this ?
Thx guys
I need help to run my script from particular point,
at the moment my script contain children scripts and looks like this :
Code:
#!/bin/ksh
Script1
if[ $return_code -ne 0 ];then
exit $return_code
Script2
if[ $return_code -ne 0 ];then
exit $return_code
Script3
if[ $return_code -ne 0 ];then
exit $return_code
Script4
if[ $return_code -ne 0 ];then
exit $return_code
Script5
if[ $return_code -ne 0 ];then
exit $return_code
If I have to run the parent script, it took around 1 hour.
So I want if the one of the children script failed, I want to run from that script failed and then continue the rest of them.
Any idea how to do this ?
Thx guys