The JobScheduler stops when all jobs have come to an end.
See
A time limit may be specified within which the JobScheduler must stop.
Should tasks still be running at the end of this time limit,
because for example they remain too long in the
However the JobScheduler first sends out an e-mail listing the tasks being terminated.
The JobScheduler then waits a maximum 30 seconds for the tasks to terminate (this usually takes place immediately) before stopping itself.
See
The JobScheduler breaks off all processes (including the foreign processes registered with add_pid()) immediately.
(Unix: kill -s KILL
, Windows: TerminateProcess()
).
The JobScheduler then shuts itself down.
Advantage: The termination is immediate.
Disadvantage: the software, in particular the jobs, do not have the possibility to react. This means, for example, that temporary files cannot be deleted.