SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Automatic Error Message

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Automatic Error Message
Author Message
Pierre Dupuis



Joined: 22 Aug 2000
Posts: 85

Post Automatic Error Message Reply with quote

When an error occur in a job we receving
an e-mail like this:

Object:Message from 24x7 Scheduler
Message: Job 'Job Name' execution error

occurred on June 3, 2004 11:00:02 am.

See job log for details.

Can I change this default object and/or message?

Thanks.

Pierre.

Thu Jun 03, 2004 1:53 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: Automatic Error Message Reply with quote

You cannot change the default message but you can use the "run script" notification action triggered in error events instead of "send email." In the script you can do anything you want, including sending emails with custom messages

: When an error occur in a job we receving
: an e-mail like this: Object:Message from 24x7 Scheduler
: Message: Job 'Job Name' execution error

: occurred on June 3, 2004 11:00:02 am.

: See job log for details.

: Can I change this default object and/or message?

: Thanks.

: Pierre.

Thu Jun 03, 2004 3:41 pm View user's profile Send private message
Pierre Dupuis



Joined: 22 Aug 2000
Posts: 85

Post Re: Automatic Error Message Reply with quote

I already using "run script". Sometime I don't have time
to think about all kind of errors.

Can I change the default "object" to this default message?

: You cannot change the default message but you can use the "run
: script" notification action triggered in error events instead of
: "send email." In the script you can do anything you want,
: including sending emails with custom messages

Fri Jun 04, 2004 8:52 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: Automatic Error Message Reply with quote

You can create a generic user defined function in the Script library and call it from all jobs. That function would read the last line of schedule.log file (or NT event log if event logging is enabled) and send an email messages in the format you want. In job notification scripts you would simply paste or type 1 line something like

MyErrorNotification(@V"job_id")

: I already using "run script". Sometime I don't have time
: to think about all kind of errors.

: Can I change the default "object" to this default message?

Fri Jun 04, 2004 9:41 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.