|
Thanks for the reply danmero.
I had tried that earlier. When the script reads thru somelog.log and reaches EOF it exits. But I don't want it to exit. If the EOF is reached the script should wait till new line is added to somelog.log and then perform the task. Also the new to somelog.log would be added at random intervals.
Any suggestions on how to have the script wait where it stopped rather than exiting and continue when the new line is added?
Thanks.
|