This file is indexed.

/usr/share/doc/condor/html/condor_wait.html is in condor-doc 7.8.2~dfsg.1-1+deb7u3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<link rel="canonical" href="http://research.cs.wisc.edu/condor/manual/current/condor_wait.html">

<TITLE>condor_wait</TITLE>
<META NAME="description" CONTENT="condor_wait">
<META NAME="keywords" CONTENT="ref">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="ref.css">

<LINK REL="next" HREF="filelock_midwife.html">
<LINK REL="previous" HREF="condor_version.html">
<LINK REL="up" HREF="10_Command_Reference.html">
<LINK REL="next" HREF="filelock_midwife.html">
</HEAD>

<BODY  BGCOLOR=#FFFFFF >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html4331"
  HREF="filelock_midwife.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html4325"
  HREF="10_Command_Reference.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html4319"
  HREF="condor_version.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html4327"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html4329"
  HREF="Index.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html4332"
  HREF="filelock_midwife.html">filelock_midwife</A>
<B> Up:</B> <A NAME="tex2html4326"
  HREF="10_Command_Reference.html">10. Command Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html4320"
  HREF="condor_version.html">condor_version</A>
 &nbsp; <B>  <A NAME="tex2html4328"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html4330"
  HREF="Index.html">Index</A></B> 
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL CLASS="ChildLinks">
<LI><A NAME="tex2html4333"
  HREF="condor_wait.html#SECTION0011571000000000000000">Synopsis</A>
<LI><A NAME="tex2html4334"
  HREF="condor_wait.html#SECTION0011572000000000000000">Description</A>
<LI><A NAME="tex2html4335"
  HREF="condor_wait.html#SECTION0011573000000000000000">Options</A>
<LI><A NAME="tex2html4336"
  HREF="condor_wait.html#SECTION0011574000000000000000">General Remarks</A>
<LI><A NAME="tex2html4337"
  HREF="condor_wait.html#SECTION0011575000000000000000">Examples</A>
<LI><A NAME="tex2html4338"
  HREF="condor_wait.html#SECTION0011576000000000000000">Exit Status</A>
<LI><A NAME="tex2html4339"
  HREF="condor_wait.html#SECTION0011577000000000000000">Author</A>
<LI><A NAME="tex2html4340"
  HREF="condor_wait.html#SECTION0011578000000000000000">Copyright</A>
</UL>
<!--End of Table of Child-Links-->
<HR>

<H1><A NAME="SECTION0011570000000000000000"></A><A NAME="man-condor-wait"></A>
<BR>
<SPAN  CLASS="textit">condor_wait</SPAN>
</H1> Wait for jobs to finish
  
<P>

<P>

<H2><A NAME="SECTION0011571000000000000000">
Synopsis</A>
</H2>
<SPAN  CLASS="textbf"><SPAN  CLASS="textit">condor_wait</SPAN></SPAN>

[<SPAN  CLASS="textbf">-help <SPAN CLASS="MATH"><IMG
 WIDTH="9" HEIGHT="32" ALIGN="MIDDLE" BORDER="0"
 SRC="img69.png"
 ALT="$\vert$"></SPAN> -version</SPAN>]

<P>
<SPAN  CLASS="textbf"><SPAN  CLASS="textit">condor_wait</SPAN></SPAN>
[<SPAN  CLASS="textbf">-debug</SPAN>]
[<SPAN  CLASS="textbf">-wait  </SPAN><SPAN  CLASS="textit">seconds</SPAN>]
[<SPAN  CLASS="textbf">-num  </SPAN><SPAN  CLASS="textit">number-of-jobs</SPAN>]
<SPAN  CLASS="textit">log-file</SPAN>
[<SPAN  CLASS="textbf">job ID</SPAN>]

<P>
<A NAME="82786"></A>
<A NAME="82787"></A>

<P>

<H2><A NAME="SECTION0011572000000000000000">
Description</A>
</H2>

<P>
<SPAN  CLASS="textit">condor_wait</SPAN> watches a user log file
(created with the <SPAN  CLASS="textbf">log</SPAN> command within a submit description file)
and returns when one or more jobs from the
log have completed or aborted.

<P>
Because <SPAN  CLASS="textit">condor_wait</SPAN> expects to find at least one job submitted
event in the log file, at least one job must have been successfully submitted
with <SPAN  CLASS="textit">condor_submit</SPAN> before <SPAN  CLASS="textit">condor_wait</SPAN> is executed.

<P>
<SPAN  CLASS="textit">condor_wait</SPAN> will wait forever for jobs to finish, unless
a shorter wait time is specified.

<P>

<H2><A NAME="SECTION0011573000000000000000">
Options</A>
</H2>
  
<P>
  <DL>
<DT><STRONG><SPAN  CLASS="textbf">-help</SPAN></STRONG></DT>
<DD>Display usage information
<BR></DD>
<DT><STRONG><SPAN  CLASS="textbf">-version</SPAN></STRONG></DT>
<DD>Display version information
<BR>
    
</DD>
<DT><STRONG><SPAN  CLASS="textbf">-debug</SPAN></STRONG></DT>
<DD>Show extra debugging information.
<BR>    
</DD>
<DT><STRONG><SPAN  CLASS="textbf">-wait </SPAN><SPAN  CLASS="textit">seconds</SPAN></STRONG></DT>
<DD>Wait no more than the
    integer number of <SPAN  CLASS="textit">seconds</SPAN>.
    The default is unlimited time.
<BR>    
</DD>
<DT><STRONG><SPAN  CLASS="textbf">-num </SPAN><SPAN  CLASS="textit">number-of-jobs</SPAN></STRONG></DT>
<DD>Wait for the integer
    <SPAN  CLASS="textit">number-of-jobs</SPAN> jobs to end. The default is all jobs in the
    log file.
<BR>    
</DD>
<DT><STRONG>log file</STRONG></DT>
<DD>The name of the log file to watch for
    information about the job.
<BR>    
</DD>
<DT><STRONG>job ID</STRONG></DT>
<DD>A specific job or set of jobs to watch.
    <A NAME="82972"></A>
    If the <SPAN  CLASS="textbf">job ID</SPAN> is only the job ClassAd attribute <TT>ClusterId</TT>,
    then <SPAN  CLASS="textit">condor_wait</SPAN> waits for all jobs with the given 
    <TT>ClusterId</TT>.
    If the <SPAN  CLASS="textbf">job ID</SPAN> is a pair of the 
    job ClassAd attributes, given by <TT>ClusterId</TT>.<TT>ProcId</TT>,
    then <SPAN  CLASS="textit">condor_wait</SPAN> waits for the specific job with this <SPAN  CLASS="textbf">job ID</SPAN>.
    If this option is not specified, all jobs that exist in the log file
    when <SPAN  CLASS="textit">condor_wait</SPAN> is invoked will be watched.
<BR>
<P>
</DD>
</DL>
  
<P>

<P>

<H2><A NAME="SECTION0011574000000000000000">
General Remarks</A>
</H2>

<P>
<SPAN  CLASS="textit">condor_wait</SPAN> is an inexpensive way to test or wait for the completion
of a job or a whole cluster, if you are trying to get a process
outside of Condor to synchronize with a job or set of jobs.

<P>
It can also be used to wait for the completion of a limited subset of
jobs, via the <SPAN  CLASS="textbf">-num</SPAN> option.

<P>

<H2><A NAME="SECTION0011575000000000000000">
Examples</A>
</H2>

<P>
<PRE>
condor_wait logfile
</PRE>
This command waits for all jobs that exist in <TT>logfile</TT> to complete.

<P>
<PRE>
condor_wait logfile 40
</PRE>
This command waits for all jobs that exist in <TT>logfile</TT> 
with a job ClassAd attribute <TT>ClusterId</TT> of
40 to complete.

<P>
<PRE>
condor_wait -num 2 logfile
</PRE>
This command waits for any two jobs that exist in <TT>logfile</TT> to
complete.

<P>
<PRE>
condor_wait logfile 40.1
</PRE>
This command waits for job 40.1 that exists in <TT>logfile</TT> to
complete.

<P>
<PRE>
condor_wait -wait 3600 logfile 40.1
</PRE>
This waits for job 40.1 to
complete by watching <TT>logfile</TT>, but it will not wait more than one
hour (3600 seconds).

<P>

<H2><A NAME="SECTION0011576000000000000000">
Exit Status</A>
</H2>

<P>
<SPAN  CLASS="textit">condor_wait</SPAN> exits with 0 if and only if the specified job or jobs
have completed or
aborted. <SPAN  CLASS="textit">condor_wait</SPAN> returns 1 if unrecoverable errors occur, such
as a missing log file, if the job does not exist in the log file, or
the user-specified waiting time has expired.

<P>

<H2><A NAME="SECTION0011577000000000000000">
Author</A>
</H2> Condor Team, University of Wisconsin-Madison
  
<H2><A NAME="SECTION0011578000000000000000">
Copyright</A>
</H2> 
  Copyright &#169; 1990-2012 Condor Team, Computer Sciences Department, 
  University of Wisconsin-Madison, Madison, WI.  All Rights Reserved.  
	Licensed under the Apache License, Version 2.0.

<P>
See the <SPAN  CLASS="textit">Condor Version 7.8.2 Manual</SPAN> or
	<A NAME="tex2html423"
  HREF="http://www.condorproject.org/license">http://www.condorproject.org/license</A>
for
  additional notices. 


<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html4331"
  HREF="filelock_midwife.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html4325"
  HREF="10_Command_Reference.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html4319"
  HREF="condor_version.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html4327"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html4329"
  HREF="Index.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html4332"
  HREF="filelock_midwife.html">filelock_midwife</A>
<B> Up:</B> <A NAME="tex2html4326"
  HREF="10_Command_Reference.html">10. Command Reference Manual</A>
<B> Previous:</B> <A NAME="tex2html4320"
  HREF="condor_version.html">condor_version</A>
 &nbsp; <B>  <A NAME="tex2html4328"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html4330"
  HREF="Index.html">Index</A></B> </DIV>
<!--End of Navigation Panel-->
<ADDRESS>
condor-admin@cs.wisc.edu
</ADDRESS>
</BODY>
</HTML>