condor_qedit

Langue: en

Autres versions - même langue

Version: date (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

Name

condor_qedit modify job attributes

Synopsis

condor_qedit [ -n schedd-name ] [ -pool pool-name ] {cluster | cluster.proc | owner | -constraint constraint} attribute-name attribute-value ...

Description

condor_qedit modifies job attributes in the Condor job queue. The jobs are specified either by cluster number, cluster.proc job ID, owner, or by a ClassAd constraint expression. The attribute-value may be any ClassAd expression (integer, floating point number, string, expression).

Options

-n schedd-name

Modify job attributes in the queue of the specified schedd

-pool pool-name

Modify job attributes in the queue of the schedd specified in the specified pool

Examples


% condor_qedit -name north.cs.wisc.edu -pool condor.cs.wisc.edu 249.0 answer 42
Set attribute "answer".
% condor_qedit -name perdita 1849.0 In '"myinput"'
Set attribute "In".
% condor_qedit jbasney NiceUser TRUE
Set attribute "NiceUser".
% condor_qedit -constraint 'JobUniverse == 1' Requirements '(Arch == "INTEL") && (OpSys == "SOLARIS26") && (Disk >= ExecutableSize) && (VirtualMemory >= ImageSize)'
Set attribute "Requirements".

General Remarks

You can view the list of attributes with their current values for a job with condor_q -long .

Strings must be specified with quotes (for example, '"String"').

If a job is currently running, modified attributes for that job will not take effect until the job restarts. For example, attempting to modify PeriodicRemoveto affect when a running job will be removed from the queue will not affect the job, unless the job happens to be evicted from a machine and returns to the queue to be run again later. This is also true for other expressions, such as PeriodicHold, PeriodicRelease, and so forth.

condor_qedit will not allow modification of the following attributes to ensure security and correctness: Owner, ClusterId, ProcId, MyType, TargetType, and JobStatus.

Please use condor_hold to place a job in the hold state, and use condor_release to release a held job, instead of attempting to modify JobStatusdirectly.

Exit Status

condor_qedit will exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.

Author

Condor Team, University of Wisconsin-Madison Copyright (C) 1990-2008 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved. Licensed under the Apache License, Version 2.0.

See the Condor Version 7.3.0 Manual or http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu