Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Scripted conditions can be added by use of Pre- and Postprocessing Scripts Monitors.
  • Each job can be assigned a number of Pre- and Postprocessing scripts Monitors that are executed in the configured sequence.
  • The Monitor scripts can include
    • Java classes
    • JavaScript code
  • Scripted conditions are a powerful means for flexibility:
    • JavaScript code can be added directly to Jobs and Monitors and is interpreted at run-time. No build cycle is required.
    • Java classes can be added that make use of of the ecosystem of available Java libraries.
  • The JobScheduler exposes its objects, methods and properties by use of the API Interface.
  • Scripted conditions can be applied by implementing a spooler_process_before() function for a preprocessor monitor 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.

...

  • Download: date_calculation.zip
    • Extract the archive to a the hot folder in your JobScheduler installation named installation ./config/live/issues.
    • The archive will extract the files to a sub-folder date_calculation. Note that you can store the sample files in any folder you like: however, you will then have to adjust the job parameters accordingly.
  • Assigning JavaScript libraries
    • The following examples make use of JavaScript with the date.js library that can be included with the preprocessing monitors as in the following screenshot.
    • You could use any JavaScript language capabilities or libaries of your own.

...