SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Can you have separate notification on error &a

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Can you have separate notification on error &a
Author Message
Elias Spielman



Joined: 06 Feb 2002
Posts: 6

Post Can you have separate notification on error & Reply with quote

Can you have separate notification file creation on error & on finish?

How do you chain execution of jobs that were sucessfull using semaphore files and different action on error.

Elias

Wed Feb 06, 2002 5:14 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Can you have separate notification on error &a Reply with quote

: Can you have separate notification file creation on error & on finish?
Yes, use scripting option for notification event. In the code of the notification event use @V"event" macro-variable to find out what triggered that event, e.g. successful finish or error. In the code use ChooseCase and other appropriate methods to implement the desired business logic (for example create file on success and email to admin on error).

If the logic is as simple as create different files, you can simply specify job notification semaphore file name as something like the following

c:\24x7\semaphores\@V"job_id"_@V"event".sem

: How do you chain execution of jobs that were successful using semaphore files
: and different action on error.

Just create different files and link different jobs to different files. For example, to implement a fork have job A create a.ok file on success and a.err file on error. Setup job B to monitor file a.ok and job C to monitor file a.err.

You can also trigger different jobs directly from the notification event using JobRun statement. No files needed.

: Elias

Wed Feb 06, 2002 5:47 pm 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.