Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

JobScheduler Operations Center (JOC) provides two methods to end a running task. Both are reachable via the context menu of the task.

End a task with the "end" command

This command will send the xml command

Code Block
 <kill_task ... immediately="no" />

to the JobScheduler engine.

It stops the task regular after the current execution of spooler_process() and continue with spooler_close(). No more iterations of spooler_process() will be executed.

<span style="color: red;">This command has no effect for shell jobs.</span>

End a task with the "kill immediately" command

This command will send the xml command

Code Block
 <kill_task ... immediately="yes" />

to the JobScheduler engine.

It stops the process of the task and its child processes immediately by sending the SIGKILL signal.
Perhaps it is not possible to kill a task or one of its child processes because it is running in process state D (uninterruptable process).