inst/doc/maestro-6-deployment.R

## -----------------------------------------------------------------------------
#| eval: false
# library(cronR)
# library(here) # makes it easier to deal with path issues
# 
# cmd <- cron_rscript(
#   here("orchestrator.R"),
#   workdir = here()
# )
# 
# cron_add(
#   cmd,
#   frequency = "daily",
#   id = "maestro",
#   ask = FALSE
# )


## -----------------------------------------------------------------------------
#| eval: false
# library(taskscheduleR)
# library(here) # makes it easier to deal with path issues
# 
# taskscheduler_create(
#   taskname = "maestro",
#   rscript = here("orchestrator.R"),
#   schedule = "DAILY",
#   exec_path = here(),
#   startdate = format(Sys.Date() - 1, "%m/%d/%Y")
# )

Try the maestro package in your browser

Any scripts or data that you put into this service are public.

maestro documentation built on June 8, 2025, 10:44 a.m.