Shell Scripts
Shell scripts can be used. These can be either Windows or 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 detection is done by checking the exit code of the script and by checking output to stderr.
Classes
Another more powerful way to create jobs is to write Java classes (or Javascript, Perl, VBScript, PowerShell etc) and let these classes or programs be executed by JobSchedueler. Using this method means it is possible to use all the methods of JobScheduler's API Interface. All our JITL - 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 APIs of applications more efficiently.