Versions Compared

Key

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

...

 

Question: What is required (e.g. scripts, etc.) to run a batch program?

...

Shell Scripts

...

Most of our users use shell - scripts. These can be either Windows or Linux/ Unix shell scripts. It is possible to pass variables from JobScheduler to the shell script and from the shell script back to JobScheduler. In this way, for example, values can be transferred from one step of a job chain to the next or to all following steps. Error recognition detection is done by checking the exit code of the script.

...

Classes

...

Another much more powerful way to create jobs is to write java Java classes (or JavaScriptJavascript, Perl, groovy, VB-scriptVBScript, PowerShell , etc) and let these classes or programs be executed by JobSchedueler. Using this method means it is possible to use all the functions methods of JobScheduler's internal API Interface. All our JITL jobs- JobScheduler Integrated Template Library jobs, for example, are implemented as Java classes. Using a programming language instead of a shell script makes it possible to use external API's APIs of applications much more efficiently.