I want to write a batch scriot to monitor my application

May 8, 2012 at 05:12:10
Specs: Windows2008
I am running my application on a WAS7.0 environment on windows 2008.
I want to write a batch script which is scheduled to run for every 5 minutes to check the "outofmemory" in a SystemOut log files.If it finds this error should a send alert and also send a mail to my mail id.

I really need help on this.

Nagesh Rao


See More: I want to write a batch scriot to monitor my application

Report •


#1
May 8, 2012 at 17:56:57
If WAS can log to the Windows Event Log, take a look at the EventTriggers command.

This may be of some interest as well.
When your only tool is a hammer, every problem looks like a nail.


Report •

#2
May 9, 2012 at 01:57:49
To have a bat file send an email you need a command line mailer.
Do you have one?


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question