# NOT RUN {
cloudbuild <- system.file("cloudbuild/cloudbuild.yaml", package = "googleCloudRunner")
build1 <- cr_build_make(cloudbuild)
build1
# }
# NOT RUN {
cr_schedule("15 5 * * *", name="cloud-build-test1",
httpTarget = cr_build_schedule_http(build1))
# a cloud build you would like to schedule
itworks <- cr_build("cloudbuild.yaml", launch_browser = FALSE)
# once working, pass in the build to the scheduler
cr_schedule("15 5 * * *", name="itworks-schedule",
httpTarget = cr_build_schedule_http(itworks))
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab