Any particular reason why all insist for a 5 Sec nap. Sandeep
Sometime on Jul 23, Manish Jethani assembled some asciibets to say:
Can a shell script contiuously poll for a specific file in a
Yes, perhaps you should send the script into an infinite loop
Polling is always done with pseudo infinite loops. pseudo infinite because although not strictly an infinite loop (while 1), there is no guarantee that the condition will match.
sleeping for about five seconds between polls is how I do it.
Philip
-- The universe is like a safe to which there is a combination -- but the combination is locked up in the safe. -- Peter DeVries
Visit my webpage at http://www.ncst.ernet.in/~philip/ Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis
Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers