Partially Update A Job
db_jobs_update(
job_id,
fields_to_remove = list(),
name = NULL,
schedule = NULL,
tasks = NULL,
job_clusters = NULL,
email_notifications = NULL,
timeout_seconds = NULL,
max_concurrent_runs = NULL,
access_control_list = NULL,
git_source = NULL,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
The canonical identifier of the job.
Remove top-level fields in the job settings. Removing
nested fields is not supported. This field is optional. Must be a list()
.
Name for the job.
Instance of cron_schedule()
.
Task specifications to be executed by this job. Use
job_tasks()
.
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.
Instance of email_notifications()
.
An optional timeout applied to each run of this job. The default behavior is to have no timeout.
Maximum allowed number of concurrent runs of the job. Set this value if you want to be able to execute multiple runs of the same job concurrently. This setting affects only new runs. This value cannot exceed 1000. Setting this value to 0 causes all new runs to be skipped. The default behavior is to allow only 1 concurrent run.
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()
.
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.
Parameters which are shared with db_jobs_create()
are optional, only
specify those that are changing.
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_runs_submit()