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

3.56 sethold

This command is deprecated. Use mjobctl -h instead.

3.56.1 Synopsis

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

3.56.2 Overview

Set hold on specified job(s).

3.56.3 Permissions

This command can be run by any Moab Scheduler Administrator.

3.56.4 Parameters

JOB Job number of job to hold.

3.56.5 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.

3.56.6 Examples

Example 3-72:  

> 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.

© 2016 Adaptive Computing