4.0 Scheduler Commands > Commands > Deprecated commands > canceljob

Conventions

canceljob

This command is deprecated. Use mjobctl -c instead.

Synopsis

canceljob jobid [jobid]...

Overview

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

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

Examples

Example 4-63: Cancel job 6397

> canceljob 6397