Introduction
The Monitors (also called Pre-/Post-Processing Monitors) are used with Jobs to provide pre-processing and post-processing capabilities by scripting. The pre-/post-processing monitors are executed before a task is being executed by the JobScheduler. Similarly the post-processing monitors are executed once a task is completed.
Scripted Conditions
- The scripts can include
- Java classes
- JavaScript code
- Scripted conditions are a powerful means for flexibility:
- The JobScheduler exposes its objects, methods and properties by use of the API Interface.
- Find details and examples with the Reference Documentation.
- Scripted conditions can be applied by implementing a
spooler_process_before()
function for a preprocessor monitor with jobs in a job chain that will- return the value
true
if the job should start, - return the value
false
if the job should not start, - move Orders to the next state in a job chain if the current job should be skipped
- return the value
See also
- How to configure a named monitor
- How to configure an enforced monitor
- How to add conditions for job execution with date calculation