# WAIT ON JOBS

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.

```sql
WAIT ON JOBS '058e2ed1-3000-4000-a000-512d334df903' WITH TIMEOUT 60 SECONDS;
```

***

Modified at: September 11, 2025

Source: [/cloud/reference/fusion-sql/wait-on-jobs/](https://docs.singlestore.com/cloud/reference/fusion-sql/wait-on-jobs/)

(An index of the documentation is available at /llms.txt)
