trigger

Description

A trigger schedule runs when the job being triggered on enters the state specified.

Properties

NameDescriptionRequired
job The job who's execution to schedule. Yes.
on The job the trigger will trigger on. Yes.
state The state which will cause the trigger to fire. No, defaults to COMPLETE.

Example

 <chain name="Trigger an Alert">
   <scheduler>
     <trigger job="${job2}" on="${job1} state="exception" />
   </scheduler>
   <folder>
     <echo id="job1" name="Run me!" />
     <echo id="job2" text="You forgot the text dummy!" />
   </folder>
 </chain>
    


(c) Rob Gordon 2005