On Fri, 05 Jul 2002 13:50:09 akshaysalkar wrote:
how to have a shell script that will keep running continuously as a running process?
Give the full path of the script as the last line.
--- Tahir Hashmi (VSE, NCST) http://staff.ncst.ernet.in/tahir tahir AT ncst DOT ernet DOT in __________________________________ We, the rest of humanity, wish GNU luck and Godspeed
_____________________________________________________ Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads and NoTaglines --> LYCOS MAIL PLUS. http://www.mail.lycos.com/brandPage.shtml?pageId=plus
On Fri, 5 Jul 2002, Tahir Hashmi wrote:
how to have a shell script that will keep running continuously as a running process?
Give the full path of the script as the last line.
That will spawn an infinite number of processes, n-1 of which are in the wait state. better would be one of these two:
#!/bin/bash while /bin/true; do # your program here done
or, at the end of the program:
exec $0