Hmm ok both good ideas !
I am familiar with Cygwin, supposing I use that approach, I'm not sure how to ' keep my place ' in my copy of the server log ( myfile.log )
i.e. tail -f | grep stopped
Will blurb " DateStamp / The server has stopped " to my file.
Sorry, I posted this in beginners because I'm not very familiar with VB
Using something like Bob suggests, I could get a snapshot of the log inbetween file changes, but then I'd still be looking at all the server stops and starts .. do you see where I'm coming from ?
To take a simple example, let's say when it stops/starts I want my script to call the "It_Stopped" or "It_Started" subroutine .. does that help ?
Any suggestions to fine tune either of these ideas ?
Oh hrm I guess if it checks quickly enough, I could then just delete myfile.log, and arrange it such that it will get recreated to flag new events ?