Help me fixing event handling in csh on AIX

view full story

http://www.unix.com – Hi All, I have problem with a csh script. This script simply search for a certail process id and kill that using simple kill -5 <pid>. Everything is okay untill there is valid process id trapped. But if the process id is already cleaned before the execution of the kill command, but script ends saying the pid not found. Is there any mechanism, I can apply to force the script not to exit from the shell and keep in loop for the next one even the process id is not found ? Regards sraj142 (HowTos)