You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

A: 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 is done by checking the exit code of the script.

B: Classes:

Another much more powerful way to create jobs is to write java classes (or JavaScript, Perl, groovy, VB-script, PowerShell, etc) and let these classes or programs be executed by JobSchedueler. Using this method means it is possible to use all the functions of JobScheduler's internal API. All our JITL 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 of applications much more efficiently.

  • No labels