Deletes a scheduled job.
cr_schedule_delete(
x,
region = cr_region_get(),
projectId = cr_project_get(),
pubsub_cleanup = FALSE
)The name of the scheduled job or a Job object
The region to run within
The projectId
If the Cloud Scheduler is pointing at a Build Trigger/PubSub as deployed by cr_deploy_r will attempt to clean up those resources too.
TRUE if job not found or its deleted, FALSE if it could not delete the job
cloudscheduler.projects.locations.jobs.delete
Other Cloud Scheduler functions:
HttpTarget(),
Job(),
PubsubTarget(),
cr_build_schedule_http(),
cr_run_schedule_http(),
cr_schedule_get(),
cr_schedule_list(),
cr_schedule_pause(),
cr_schedule_run()
if (FALSE) {
cr_project_set("my-project")
cr_region_set("europe-west1")
cr_schedule_delete("cloud-build-test1")
}