: 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
|