RUN JOB USING NOTEBOOK
On this page
Creates a notebook job that immediately runs the specified notebook in a Stage using the specified runtime and parameters.
Syntax
RUN JOB USING NOTEBOOK '<notebook_path>'
[ WITH RUNTIME '<runtime_name>' ]
[ WITH PARAMETERS <param_json> ]
Arguments
-
notebook_
: Path in the Stage where the notebook file is stored.path -
runtime_
: Name of the runtime the scheduled job is run with.name -
param_
: The parameters passed to the job in JSON format, for example,json {"<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_notebooks-cpu-small
runtime:
RUN JOB USING NOTEBOOK 'example_notebook.ipynb'WITH RUNTIME 'notebooks-cpu-small'WITH PARAMETERS {"strParam": "string","intParam": 1,"floatParam": 1.0,"boolParam": true}
Last modified: April 17, 2025