Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vbscript to parse a file

Status
Not open for further replies.

Jmayhair

IS-IT--Management
Oct 4, 2004
23
US
Hi everyone,

I have an application that creates a logfile and I have a need to read this file for errors. Lucky for me the application updates this logfile every 10 minutes and if there is an error it flag it with a value (like a 2 or 1 and 3 being informational).

example of log enter:
08/14/2005 08:00:06 AM 2 00000357 Failed update.

I need this script to read the log and send and e-mail to a dist. list. Does anyone with any code that may help me out here. I'm not a vbscript person

James "Have a Nice day
 
Searching this forum and looking at the FAQs for this forum will provide you with all the information you need. I would suggest searching for 'FileSystemObject' and 'Email'.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top