Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor corrections to grammar

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 Scripting. The Pre-Processing Monitors are executed before a task or processing step is being executed by the JobScheduler. Similarly the Post-Processing Monitors are executed once a task or processing step is has been completed. 

  • A job Jobs can have multiple Pre-/Post-Processing Monitors ordered starting from 0 onward to be . The order in which these are executed by the JobScheduler can be specified by setting a parameter.
    • A PrePre-Processing Monitor can Monitors can be created to 
      • validate required conditions for a particular task to be started or 
      • set a parameter value dynamically, e.g. today's date.
    • At the same time a Post-Processing Monitor Monitors can check the job's execution status, return code, total execution time etc..
  • The Pre-/Post-Processing Monitors can be programmed independent from the independently of a job's programming language, e.g. . For example, a shell script job can have a Pre-/Post-Processing Monitor written in JavaScript. 

Scripted Pre-/Post-Processing Monitors

  • The Monitor scripts can include
    • Java classes
    • JavaScript code
  • Scripting is a powerful means for flexibility:
    • JavaScript code can be added directly to Jobs and Monitors and is interpreted at run-time. No A build cycle is not required.
    • Java classes can be added that make use of of the ecosystem of available Java librarieslibrary ecosystem.
  • The JobScheduler exposes its objects, methods and properties by use way of the its API Interface.

...