woom.job.ScheduledJob.kill

woom.job.ScheduledJob.kill#

ScheduledJob.kill(graceful=True, timeout=10)[source]#

Kill the job using scheduler commands

Parameters:
  • graceful (bool) – If True, send SIGTERM and wait before forcing SIGKILL

  • timeout (int) – Seconds to wait for graceful shutdown before forcing