Table of Contents |
---|
Introduction
Excerpt |
---|
The Monitors (also called Pre-/Post-Processing Monitors) are used with Jobs to provide pre-processing and post-processing capabilities by scriptingScripting. The pre-/post-processing monitors Pre-Processing Monitors are executed before a task or processing step is being executed by the JobScheduler. Similarly the post-processing monitors Post-Processing Monitors are executed once a task is or processing step has been completed.
|
Scripted
...
Pre-/Post-Processing Monitors
- Monitor The scripts can include
- Java classes
- JavaScript code
- Scripted conditions are Scripting is a powerful means for flexibility:
- The JobScheduler exposes its objects, methods and properties by use way of the its API Interface.
- Find details and examples with in the Reference Documentation.
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
Methods of Specifying Monitors
Monitors can be specified in the following ways:
- As Named Monitors:
- Named Monitors are specified in the configuration of individual jobs.
- As Enforced Monitors:
- Enforced Monitors are specified in the JobScheduler configuration and are therefore by default applicable to all jobs executed by the JobScheduler.
- Filters can be used to limit the monitors and the jobs that they are applied to.
- Enforced Monitors are specified in the JobScheduler configuration and are therefore by default applicable to all jobs executed by the JobScheduler.
A Monitor can be specified as both a Named Monitor and as an Enforced Monitor.
See also
- How to configure a named monitorNamed Monitor
- How to configure an enforced monitorEnforced Monitor
- How to add conditions for job execution with date calculation
- How to use Job Post-processing to handle Exit Codes
- The Monitor XML Element in the JobScheduler Reference Documentation