4.0 Scheduler Commands > Commands > Deprecated commands > sethold

Conventions

sethold

This command is deprecated. Use mjobctl -h instead.

Synopsis

sethold [-b] jobid [jobid...]

Overview

Set hold on specified job(s).

Permissions

This command can be run by any Moab Scheduler Administrator.

Parameters

JOB Job number of job to hold.

Flags

-b Set a batch hold. Typically, only the scheduler places batch holds. This flag allows an administrator to manually set a batch hold.
-h Help for this command.

Examples

Example 4-69:  

> sethold -b fr17n02.1072.0 fr15n03.1017.0
Batch Hold Placed on All Specified Jobs

In this example, a batch hold is placed on job fr17n02.1072.0 and job fr15n03.1017.0.