One way of doing it is by writing the last time stamp in the logfile in to a text file during end of the script execution. Next time you run the script, use time stamp inside the text file to skip through the unwanted entries inside the for loop.
There must be better way than what i suggested, hang on in this site you will get better solutions from best monks here.
Regards,
Murugesan Kandasamy
use perl for(;;);
In reply to Re: Parsing logs and bookmarking last line parsed
by murugu
in thread Parsing logs and bookmarking last line parsed
by JaeDre619
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |