WAIT ON JOBS
On this page
Waits for the job(s) with the specified ID(s) to complete.
Syntax
WAIT ON JOBS '<job_ID>',...
[ WITH TIMEOUT <timeout> { SECONDS | MINUTES | HOURS } ]
Arguments
-
job_
: A comma-separated list of IDs of the jobs.ID -
timeout
: The number of seconds, minutes, or hours to wait for the job to complete.
Example
The following command waits on a job with the specified ID to complete with a timeout of 60
seconds.
WAIT ON JOBS '058e2ed1-3000-4000-a000-512d334df903' WITH TIMEOUT 60 SECONDS;
Last modified: September 11, 2025