1condor_qedit(1) General Commands Manual condor_qedit(1)
2
3
4
6 condor_qeditmodify job attributes
7
9 condor_qedit[-debug] [-n schedd-name] [-pool pool-name] {cluster |
10 cluster.proc | owner | -constraint constraint}attribute-nameattribute-
11 value...
12
14 condor_qeditmodifies job ClassAd attributes of queued HTCondor jobs.
15 The jobs are specified either by cluster number, job ID, owner, or by a
16 ClassAd constraint expression. The attribute-valuemay be any ClassAd
17 expression. String expressions must be surrounded by double quotes.
18 Multiple attribute value pairs may be listed on the same command line.
19
20 To ensure security and correctness, condor_qeditwill not allow modifi‐
21 cation of the following ClassAd attributes:
22
23 * Owner
24
25 * ClusterId
26
27 * ProcId
28
29 * MyType
30
31 * TargetType
32
33 * JobStatus
34
35 Since JobStatusmay not be changed with condor_qedit, use condor_holdto
36 place a job in the hold state, and use condor_releaseto release a held
37 job, instead of attempting to modify JobStatusdirectly.
38
39 If a job is currently running, modified attributes for that job will
40 not affect the job until it restarts. As an example, for PeriodicRe‐
41 moveto affect when a currently running job will be removed from the
42 queue, that job must first be evicted from a machine and returned to
43 the queue. The same is true for other periodic expressions, such as
44 PeriodicHoldand PeriodicRelease.
45
46 condor_qeditvalidates both attribute names and attribute values, check‐
47 ing for correct ClassAd syntax. An error message is printed, and no
48 attribute is set or changed if the name or value is invalid.
49
51 -debug
52
53 Causes debugging information to be sent to stderr, based on the
54 value of the configuration variable TOOL_DEBUG.
55
56
57
58 -n schedd-name
59
60 Modify job attributes in the queue of the specified schedd
61
62
63
64 -pool pool-name
65
66 Modify job attributes in the queue of the schedd specified in the
67 specified pool
68
69
70
72 % condor_qedit -name north.cs.wisc.edu -pool condor.cs.wisc.edu 249.0
73 answer 42
74 Set attribute "answer".
75 % condor_qedit -name perdita 1849.0 In '"myinput"'
76 Set attribute "In".
77 % condor_qedit jbasney NiceUser TRUE
78 Set attribute "NiceUser".
79 % condor_qedit -constraint 'JobUniverse == 1' Requirements '(Arch ==
80 "INTEL") && (OpSys == "SOLARIS26") && (Disk >= ExecutableSize) && (Vir‐
81 tualMemory >= ImageSize)'
82 Set attribute "Requirements".
83
85 A job's ClassAd attributes may be viewed with
86
87 condor_q -long
88
90 condor_qeditwill exit with a status value of 0 (zero) upon success, and
91 it will exit with the value 1 (one) upon failure.
92
94 Center for High Throughput Computing, University of Wisconsin-Madison
95
97 Copyright (C) 1990-2019 Center for High Throughput Computing, Computer
98 Sciences Department, University of Wisconsin-Madison, Madison, WI. All
99 Rights Reserved. Licensed under the Apache License, Version 2.0.
100
101
102
103 date condor_qedit(1)