You are here: 3 Scheduler Commands > Commands > Deprecated Commands > canceljob

3.49 canceljob

This command is deprecated. Use mjobctl -c instead.

3.49.1 Synopsis

canceljob jobid [jobid]...

3.49.2 Overview

The canceljob command is used to selectively cancel the specified job(s) (active, idle, or non-queued) from the queue.

3.49.3 Access

This command can be run by any Moab Administrator and by the owner of the job (see ADMINCFG).

Flag Name Format Default Description Example
-h HELP   N/A Display usage information
> canceljob -h
  JOB ID <STRING> --- a jobid, a job expression, or the keyword ALL
> canceljob 13001 13003

3.49.4 Examples

Example 3-65: Cancel job 6397

> canceljob 6397

© 2016 Adaptive Computing