Introduction

Jobs are used within workflows for executing shell commands, scripts and binaries with JS7 Agents.

  • A workflow includes any number of job instructions, see JS7 - Job Instruction, for executing jobs and implementing dependencies such as forking and joining processing, acquiring resource locks etc.
  • Job types come with the following flavors:
    • Shell Jobs are executed with the operating system shell, for example the Windows Shell or one of the Unix Shells such as /bin/sh, /bin/bash etc.
      • Shell jobs can include any shell commands, calls to scripts and executable files.
      • Such jobs behave similarly to individual commands being executed in the command line of the operating system.
      • Shell jobs allow the use of scripting languages such as Node.js, Perl, Python, PowerShell etc. These require an interpreter to be installed with the OS that can be executed from the command line.
    • JVM Jobs are implemented in a number of supported languages that can be operated for a Java Virtual Machine and for which the JS7 Agent offers the JS7 - Job API. The languages supported include:
      • Job Templates
        • JITL Jobs are Java Jobs that ship with JS7 and that are used as JS7 - JITL Job Templates, for example to access databases, to access remote hosts by SSH etc.
      • User-defined Jobs
        • Java: Jobs are executed in the JVM provided by the JS7 Agent.
        • JavaScript Jobs require use of the Oracle® GraalVM Java Virtual Machine with the JS7 Agent The JVM provides the interpreter/compiler for the respective scripting language.

Resources



  • No labels