Create And Trigger A One-Time Run
db_jobs_runs_submit(
tasks,
run_name,
timeout_seconds = NULL,
idempotency_token = NULL,
access_control_list = NULL,
git_source = NULL,
job_clusters = NULL,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
Task specifications to be executed by this job. Use
job_tasks()
.
Name for the run.
An optional timeout applied to each run of this job. The default behavior is to have no timeout.
An optional token that can be used to guarantee the idempotency of job run requests. If an active run with the provided token already exists, the request does not create a new run, but returns the ID of the existing run instead. If you specify the idempotency token, upon failure you can retry until the request succeeds. Databricks guarantees that exactly one run is launched with that idempotency token. This token must have at most 64 characters.
Instance of access_control_request()
.
Optional specification for a remote repository containing
the notebooks used by this job's notebook tasks. Instance of git_source()
.
Named list of job cluster specifications (using
new_cluster()
) that can be shared and reused by tasks of this job.
Libraries cannot be declared in a shared job cluster. You must declare
dependent libraries in task settings.
Databricks workspace URL, defaults to calling db_host()
.
Databricks workspace token, defaults to calling db_token()
.
If TRUE
(default) the request is performed, if
FALSE
the httr2 request is returned without being performed.
Other Jobs API:
db_jobs_create()
,
db_jobs_delete()
,
db_jobs_get()
,
db_jobs_list()
,
db_jobs_reset()
,
db_jobs_run_now()
,
db_jobs_runs_cancel()
,
db_jobs_runs_delete()
,
db_jobs_runs_export()
,
db_jobs_runs_get()
,
db_jobs_runs_get_output()
,
db_jobs_runs_list()
,
db_jobs_update()