Script hangs on the unix server

We have a unix script scheduled to execute once in a day, some times it hangs on the server and never performs its operations, we need to manually kill the process and re-start that script, is there any way to have notification when the script hangs on the server.

Thanks & Regards,
Murthy.

What is the criteria you use to determine if it has hung rather than just taking a long time?

okay, so script didn't get hang, Contents of the script failed to execute from the script( in my case it is SQL File ).

I suggest you check return codes, exit codes and the like.