db_jobs_create {brickster} | R Documentation |
Create Job
Description
Create Job
Usage
db_jobs_create(
name,
tasks,
schedule = NULL,
job_clusters = NULL,
email_notifications = NULL,
timeout_seconds = NULL,
max_concurrent_runs = 1,
access_control_list = NULL,
git_source = NULL,
queue = TRUE,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
Arguments
name |
Name for the job. |
tasks |
Task specifications to be executed by this job. Use
|
schedule |
Instance of |
job_clusters |
Named list of job cluster specifications (using
|
email_notifications |
Instance of |
timeout_seconds |
An optional timeout applied to each run of this job. The default behavior is to have no timeout. |
max_concurrent_runs |
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. |
access_control_list |
Instance of |
git_source |
Optional specification for a remote repository containing
the notebooks used by this job's notebook tasks. Instance of |
queue |
If true, enable queueing for the job. |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
perform_request |
If |
Details
See Also
job_tasks()
, job_task()
, email_notifications()
,
cron_schedule()
, access_control_request()
, access_control_req_user()
,
access_control_req_group()
, git_source()
Other Jobs API:
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()
,
db_jobs_update()