Versions Compared

Key

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

...

If you restart the JobScheduler via JOC (Menu->'Terminate and restart') or with the startscript

Code Block
 ./bin/jobscheduler.sh restart

or via JOC (Menu->'Terminate and restart').

Then the then first the JobScheduler tries to stop all jobs.
The JobScheduler waits for all jobs with running job tasks.

Only when all tasks are completed, then the JobScheduler stops and starts.
Until then , the JobScheduler is ...

  • the JobScheduler has the status "stopping"
  • all jobs with running tasks get the status "stopping

...

  • "
  • all jobs without running tasks get the status "stopped"

You can restart the JobScheduler with a timeout (in seconds) via JOC (Menu->'Terminate and restart within ~60s') or with the startscript

Code Block
  ./bin/jobscheduler.sh command "<terminate restart='yes' timeout='60'/>"

or via JOC (Menu->'Terminate and restart within ~60s').

In this case the JobScheduler waits only 60 seconds for running tasks.
All tasks which are still running after 60 seconds are aborted with an exit code 99.
So each job of these tasks will be stopped, except the job is configured with stop_on_error="no".

...