Cancelling jobs
How to cancel/stop scheduled or running jobs?
less than a minute
- And finally, to cancel a given job:
$ scancel <jobID>
Note
It is possible to specify the sbatch
directives, like --mem
, --ntasks
, … etc in the command line as in:
$ sbatch --time=00:02:00 jobscript.sbatch
This specification is generally not recommended for production, as it is less reproducible than specifying within the job script itself.
Feedback
Was this page helpful?
Glad to hear it! Please click here to notify us. We appreciate it.
Sorry to hear that. Please click here let the page maintainers know.