Skip to content

JobMonitor.cancel()

Removes the job from the queue if it’s queued, or terminates it if it’s currently running.

train_job.cancel()