Versions Compared

Key

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

...

js7.job.execution: Job Script Termination

The following settings can be used for releases prior to 2.7.2:

js7jobexecution
Default



kill-with-sigterm-command"/bin/kill", "$pid"



kill-with-sigkill-command"/bin/kill", "-KILL", "$pid"
  • The Agent can be instructed to terminate running jobs - see the JS7 - FAQ - Does JS7 reliably kill running jobsHow does JobScheduler terminate Jobs article.
  • The following settings are in place to terminate running jobs by an Agent operated for a Unix OS:
    • The setting kill-with-sigterm-command specifies the OS command executed by the Agent to forward a SIGTERM signal to the running job.
    • The setting kill-with-sigkill-command specifies the OS command executed by the Agent to forward a SIGKILL signal to the running job.
  • Both settings are specified as an array of arguments, i.e. "/bin/kill", "-KILL", "$pid" translates to the command: /bin/kill -KILL 99, provided that 99 is the Process ID of the running job.
  • This setting can be applied if the Agent is operated on an OS that makes use of a different syntax for the kill command.

...