Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
JobScheduler Operations Center (JOC) provides two methods to end a running task. Both are reachable via the context menu of the task.
...
This command will send the xml command
Code Block |
---|
<kill_task ... immediately="no" />
|
...
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 following xml command to the JobScheduler engine:
Code Block |
---|
<kill_task ... immediately="yes" />
|
...
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).