Eventtriggers / Bmail Scenario - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
Thread Tools Display Modes
Old 07-28-2005, 03:36 PM   #1 (permalink)
Newb Techie
Join Date: Jul 2005
Posts: 2
Default Eventtriggers / Bmail Scenario

I've been working on some Eventtriggers that log a few events, and later different Eventtriggers call on Bmail to mail the event to my admins. I've got most of my project completed and working fine, but here is the current problem.

My systems travel non stop in our agency, and they aren't always on the net. I'm trying to make it so that if the Bmail program fails to send the logs, the log files are still maintained, but if Bmail is successful in mailing my logs, the Log is Deleted.

I'm trying to stick to Eventtriggers, Bmail (or an equivelant), and some batch scripts.

I'm somewhat uneducated when it comes to Dos, i'm a younger generation IT. From what I understand though, there should be an Errorlevel or something sent out by Bmail depending on the action the programs take. So far the only output I've found is some text that I have piped to a bmail.txt that i could POSSIBLY use in a FIND combo with some IF statements to delete the files, but even with that idea I'm having syntax issues.

Any thoughts on this I'd be greatful to hear them. I'm sure some other admins out there would like to do something like this on their systems too. Eventtriggers have 1000 and 1 uses, great add on to XP and 2003

it.jim is offline  
Old 07-28-2005, 04:49 PM   #2 (permalink)
Master Techie
Join Date: Oct 2003
Posts: 2,258

couldn't you have the program check to see if you are connected and if not, write out the information to a log, and when you reconnect, the logs are then generated into emails to be sentout? Seems that wouldn't be too hard.

Inaris is offline  
Old 07-28-2005, 05:58 PM   #3 (permalink)
Newb Techie
Join Date: Jul 2005
Posts: 2

From what i can see Bmail doesn't have any features like that.

Would you happen to know another command line mailers that would have a feature that checks connectivty? I just started looking into Blat after I posted this first message, maybe it will solve the problem.
it.jim is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:56 AM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.