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 the Unix Shell available from /bin/sh.
      • 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 use of scripting languages such as Node.js, Perl, Python, PowerShell etc. They 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
      • 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