woom.job.ScheduledJob.cancel

woom.job.ScheduledJob.cancel#

ScheduledJob.cancel(graceful=True, timeout=10)#

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