Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

WAIT ON JOBS

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_ID: A comma-separated list of IDs of the jobs.

  • 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:

Was this article helpful?