# RUN JOB USING NOTEBOOK

Creates a notebook job that immediately runs the specified notebook in a [Stage](https://docs.singlestore.com/cloud/load-data/load-data-from-files/stage.md) using the specified runtime and parameters.

## Syntax

```
RUN JOB USING NOTEBOOK '<notebook_path>' 
    [ WITH RUNTIME '<runtime_name>' ]
    [ WITH PARAMETERS <param_json> ]
```

## Arguments

* `notebook_path`: Path in the Stage where the notebook file is stored.
* `runtime_name`: Name of the runtime the scheduled job is run with.
* `param_json`: The parameters passed to the job in JSON format, for example, `{"<paramName>": "<paramValue>", ... }`. It only supports string, integer, float, and boolean type values.

## Remarks

* The scheduled notebook job is run immediately after the `RUN JOB USING NOTEBOOK` command is run.

## Example

The following command creates a scheduled job that runs a notebook named **example\_notebook.ipynb** using the `notebooks-cpu-small` runtime:

```sql
RUN JOB USING NOTEBOOK 'example_notebook.ipynb'
   WITH RUNTIME 'notebooks-cpu-small'
   WITH PARAMETERS {
      "strParam": "string",
      "intParam": 1,
      "floatParam": 1.0,
      "boolParam": true
}
```

***

Modified at: April 17, 2025

Source: [/cloud/reference/fusion-sql/run-job-using-notebook/](https://docs.singlestore.com/cloud/reference/fusion-sql/run-job-using-notebook/)

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