1.

Solve : how to create a batch file which gives us mail notification on application failu?

Answer»

HI all,

PLEASE help me as I want to configure mail alert system on failuar of my application which it self is a batch file.

Sorry.....you want to what?

More INFO...I wanted to give mail alerts to system admin on failuar of any application.

Suppose,
I have xyz application (an executable batch file through which we run an we application), if any time my aplication (xyz) goes down , then this should be INTIMATED to sys admin through mail.

So I want an application , which check any system failuar is occured or not, if yes then it will put a mail to sys admin.

next thing is , I want to create this as batch file as my application is on windows.

If it is not possible in windows then please let me know other means."failure" is the correct spelling. Quote

I want to create this as batch file as my application is on windows



If you're monitoring only the xyz application, you can check the errorlevel and use BLAT to send a batch email.

It is possible to create a VBScript to monitor program terminations system wide, however, I could not find a property to CAPTURE a return code which might indicate success or failure.

Good luck. Oh yeah, have you ever tried Blat. Because I tried it last time and it didn't work with me.


Discussion

No Comment Found