Schedule a Build object via HTTP or PubSub
cr_schedule_build(
build,
schedule,
schedule_type = c("http", "pubsub"),
email = cr_email_get(),
projectId = cr_project_get(),
...
)A Build object
A cron schedule e.g. "15 5 * * *"
Whether to use HTTP or PubSub styled schedules
The email that will authenticate the job set via cr_email_set
The GCP project to run within usually set with cr_project_set
Arguments passed on to cr_schedule
regionThe region usually set with cr_region_set
overwriteIf TRUE and an existing job with the same name exists, will overwrite it with the new parameters
nameName to call your scheduled job
httpTargetA HTTP target object HttpTarget
pubsubTargetA Pub/Sub target object PubsubTarget such as created via cr_schedule_pubsub
descriptionOptionally caller-specified in CreateJob or
timeZoneSpecifies the time zone to be used in interpreting schedule. If set to NULL will be "UTC". Note that some time zones include a provision for daylight savings time.
cr_schedule_build returns a cloud scheduler Job object
See also cr_schedule which you can use by to customise your schedule.