6

Unix script seems to be momentarily creating child process for unknown reason

view full story
linux-howto

http://www.unix.com – Hi, I have a unix script that basically has a while loop inside which it checks Oracle database for certain records. If it finds the records, it does some processing and then goes back to the while loop. If it doesnot find any matching records, then it sleeps for 30 seconds and then goes back to the while loop to again check for existence of a new records. We are supposed to have only one instance of this script running. The script is kicked off at the beginning of the week with the command sh scriptname.ksh & It doesnot need to be started again until after server reboot the following (HowTos)