Versions Compared

Key

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

...

  • Traps are used in shell jobs for the situation that a job should not be aborted immediately, but should be terminated after having performed some cleanup operation, for example
    • to remove temporary files created by the job,
    • to disconnect from a database.
  • Traps are available for the Unix Shell, not for JVM Jobs and not for Windows Shell Jobs..
  • Display feature availability
    StartingFromRelease2.1.1

Example

Download (.json upload)jduCleanupTrap.json

The implementation of a cleanup trap in a JS7 job script can look like this:

...