1just-man-pages/condor_wait(1)General Commands Manuajlust-man-pages/condor_wait(1)
2
3
4

Name

6       condor_wait Wait for jobs to finish
7

Synopsis

9       condor_wait [ -help -version ]
10
11       condor_wait  [  -debug ] [ -wait seconds ] [ -num number-of-jobs ] log-
12       file [ job ID ]
13

Description

15       condor_wait watches a user log  file  (created  with  the  log  command
16       within  a  submit  description  file) and returns when one or more jobs
17       from the log have completed or aborted.
18
19       Because condor_wait expects to find at least one job submitted event in
20       the  log  file,  at least one job must have been successfully submitted
21       with condor_submit before condor_wait is executed.
22
23       condor_wait will wait forever for jobs to finish, unless a shorter wait
24       time is specified.
25

Options

27       -help
28
29          Display usage information
30
31
32
33       -version
34
35          Display version information
36
37
38
39       -debug
40
41          Show extra debugging information.
42
43
44
45       -wait seconds
46
47          Wait  no  more  than  the integer number of seconds . The default is
48          unlimited time.
49
50
51
52       -num number-of-jobs
53
54          Wait for the integer number-of-jobs jobs to end. The default is  all
55          jobs in the log file.
56
57
58
59       log file
60
61          The name of the log file to watch for information about the job.
62
63
64
65       job ID
66
67          A  specific  job  or set of jobs to watch. If the job ID is only the
68          job ClassAd attribute ClusterId, then condor_wait waits for all jobs
69          with the given ClusterId. If the job ID is a pair of the job ClassAd
70          attributes, given by ClusterId.ProcId, then  condor_wait  waits  for
71          the specific job with this job ID . If this option is not specified,
72          all jobs that exist in the log file when condor_wait is invoked will
73          be watched.
74
75
76
77
78

General Remarks

80       condor_wait is an inexpensive way to test or wait for the completion of
81       a job or a whole cluster, if you are trying to get a process outside of
82       Condor to synchronize with a job or set of jobs.
83
84       It  can  also be used to wait for the completion of a limited subset of
85       jobs, via the -num option.
86

Examples

88       condor_wait logfile
89
90       This command waits for all jobs that exist in logfileto complete.
91
92       condor_wait logfile 40
93
94       This command waits for all jobs that exist in logfilewith a job ClassAd
95       attribute ClusterIdof 40 to complete.
96
97       condor_wait -num 2 logfile
98
99       This command waits for any two jobs that exist in logfileto complete.
100
101       condor_wait logfile 40.1
102
103       This command waits for job 40.1 that exists in logfileto complete.
104
105       condor_wait -wait 3600 logfile 40.1
106
107       This  waits  for  job 40.1 to complete by watching logfile, but it will
108       not wait more than one hour (3600 seconds).
109

Exit Status

111       condor_wait exits with 0 if and only if the specified job or jobs  have
112       completed  or  aborted.   condor_wait returns 1 if unrecoverable errors
113       occur, such as a missing log file, if the job does not exist in the log
114       file, or the user-specified waiting time has expired.
115

Author

117       Condor Team, University of Wisconsin-Madison
118
120       Copyright (C) 1990-2009 Condor Team, Computer Sciences Department, Uni‐
121       versity  of  Wisconsin-Madison,  Madison,  WI.  All  Rights   Reserved.
122       Licensed under the Apache License, Version 2.0.
123
124       See   the   Condor   Version   7.4.2  Manual  or  http://www.condorpro
125       ject.org/licensefor additional notices. condor-admin@cs.wisc.edu
126
127
128
129                                     date        just-man-pages/condor_wait(1)
Impressum