Man page - condor_wait(1)
Packages contas this manual
- condor_run(1)
- condor_master(1)
- condor_q(1)
- classads(1)
- condor_annex(1)
- condor_check_password(1)
- condor_preen(1)
- condor_vacate(1)
- condor_updates_stats(1)
- condor_install(1)
- condor_on(1)
- gidd_alloc(1)
- condor_procd(1)
- condor_continue(1)
- classad_eval(1)
- condor_wait(1)
- condor_advertise(1)
- get_htcondor(1)
- condor_userprio(1)
- condor_ssh_to_job(1)
- condor_token_list(1)
- condor_qsub(1)
- condor_token_request_approve(1)
- condor_job_router_info(1)
- condor_router_q(1)
- condor_hold(1)
- condor_transform_ads(1)
- condor_release(1)
- condor_suspend(1)
- condor_rmdir(1)
- condor_qedit(1)
- condor_findhost(1)
- condor_upgrade_check(1)
- condor_restart(1)
- condor_token_request_list(1)
- condor_rm(1)
- condor_check_userlogs(1)
- condor_fetchlog(1)
- condor_set_shutdown(1)
- condor_submit(1)
- condor_token_create(1)
- condor_vacate_job(1)
- condor_off(1)
- condor_ping(1)
- condor_chirp(1)
- condor_urlfetch(1)
- condor_router_history(1)
- procd_ctl(1)
- condor_now(1)
- condor_gpu_discovery(1)
- condor_dagman(1)
- condor_reschedule(1)
- condor_who(1)
- condor_version(1)
- condor_userlog(1)
- condor_evicted_files(1)
- condor_token_request_auto_approve(1)
- condor_history(1)
- condor_ssh_start(1)
- condor_prio(1)
- condor_transfer_data(1)
- condor_update_machine_ad(1)
- condor_reconfig(1)
- condor_watch_q(1)
- condor_power(1)
- condor_router_rm(1)
- condor_submit_dag(1)
- condor_tail(1)
- condor_sos(1)
- condor_top(1)
- htcondor(1)
- condor_store_cred(1)
- condor_config_val(1)
- condor_token_request(1)
- condor_pool_job_report(1)
- condor_ssl_fingerprint(1)
- condor_drain(1)
- condor_adstash(1)
- condor_status(1)
- condor_gather_info(1)
- condor_remote_cluster(1)
- condor_stats(1)
- condor_token_fetch(1)
- condor_configure(1)
- condor_test_token(1)
apt-get install condor
Manual
| CONDOR_WAIT(1) | HTCondor Manual | CONDOR_WAIT(1) |
NAME
condor_wait - HTCondor Manual
Wait for jobs to finish
SYNOPSIS
condor_wait [-help | -version ]
condor_wait [-debug ] [-status ] [-echo ] [-wait seconds] [-num number-of-jobs] log-file [job ID ]
DESCRIPTION
condor_wait watches a job event log file (created with the log command within a submit description file) and returns when one or more jobs from the log have completed or aborted.
Because condor_wait expects to find at least one job submitted event in the log file, at least one job must have been successfully submitted with condor_submit before condor_wait is executed.
condor_wait will wait forever for jobs to finish, unless a shorter wait time is specified.
OPTIONS
- -help
- Display usage information
- -version
- Display version information
- -debug
- Show extra debugging information.
- -status
- Show job start and terminate information.
- -echo
- Print the events out to stdout.
- -wait seconds
- Wait no more than the integer number of seconds. The default is unlimited time.
- -num number-of-jobs
- Wait for the integer number-of-jobs jobs to end. The default is all jobs in the log file.
- log file
- The name of the log file to watch for information about the job.
- job ID
- A specific job or set of jobs to watch.
If the job ID is only the job ClassAd attribute ClusterId, then condor_wait waits for all jobs with the given ClusterId. If the job ID is a pair of the job ClassAd attributes, given by ClusterId.ProcId, then condor_wait waits for the specific job with this job ID. If this option is not specified, all jobs that exist in the log file when condor_wait is invoked will be watched.
GENERAL REMARKS
condor_wait 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 HTCondor to synchronize with a job or set of jobs.
It can also be used to wait for the completion of a limited subset of jobs, via the -num option.
EXAMPLES
$ condor_wait logfile
This command waits for all jobs that exist in logfile to complete.
$ condor_wait logfile 40
This command waits for all jobs that exist in logfile with a job ClassAd attribute ClusterId of 40 to complete.
$ condor_wait -num 2 logfile
This command waits for any two jobs that exist in logfile to complete.
$ condor_wait logfile 40.1
This command waits for job 40.1 that exists in logfile to complete.
$ condor_wait -wait 3600 logfile 40.1
This waits for job 40.1 to complete by watching logfile, but it will not wait more than one hour (3600 seconds).
EXIT STATUS
condor_wait exits with 0 if and only if the specified job or jobs have completed or aborted. condor_wait 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.
AUTHOR
HTCondor Team
COPYRIGHT
1990-2024, Center for High Throughput Computing, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI, US. Licensed under the Apache License, Version 2.0.
| March 8, 2026 |