cr_schedule_run: Forces a job to run now.

View source: R/cloudscheduler.R

cr_schedule_runR Documentation

Forces a job to run now.

Description

When this method is called, Cloud Scheduler will dispatch the job, even if the job is already running.

Usage

cr_schedule_run(x, region = cr_region_get(), projectId = cr_project_get())

Arguments

x

The name of the scheduled job or a Job object

region

The region to run within

projectId

The projectId

See Also

cloudscheduler.projects.locations.jobs.run

Other Cloud Scheduler functions: HttpTarget(), Job(), PubsubTarget(), cr_build_schedule_http(), cr_run_schedule_http(), cr_schedule_delete(), cr_schedule_get(), cr_schedule_list(), cr_schedule_pause()

Examples


## Not run: 
cr_project_set("my-project")
cr_region_set("europe-west1")
cr_schedule_run("cloud-build-test1")

## End(Not run)

googleCloudRunner documentation built on March 18, 2022, 8 p.m.