Deletes a scheduled job.

cr_schedule_delete(
  x,
  region = cr_region_get(),
  projectId = cr_project_get(),
  pubsub_cleanup = FALSE
)

Arguments

x

The name of the scheduled job or a Job object

region

The region to run within

projectId

The projectId

pubsub_cleanup

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.

Value

TRUE if job not found or its deleted, FALSE if it could not delete the job

Examples


if (FALSE) {
cr_project_set("my-project")
cr_region_set("europe-west1")
cr_schedule_delete("cloud-build-test1")

}