Important
New database features are no longer connected to engine versions; features are now enabled independently during scheduled update windows, and “major” and “minor” releases no longer exist in Helios. Please visit the release notes to view the latest features available in your database clusters.
WAIT ON JOBS
On this page
The WAIT ON JOBS command 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: