The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-19-2008
rajusa10 rajusa10 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 5
How the first script should notify in case there is no response from second Reply to

Hi, Joyeg,

how to write the logic if the execution of a.sh is successful or not in b.sh?
a.sh contains some processes and if these processes goes in hang state it is obvious that a.sh would would not get executed, so In b.sh i want such a logic that theexit status of a.sh should be evaluated and the user should be notified by an email.

Thank You