Skip to contents

This function will normally be executed by a cron daemon. Once started this function will nest through schedule functions defined in a configuration file, e.g. "rapbaseConfig.yml".

Usage

fireInTheHole(flipPeriod = FALSE)

Arguments

flipPeriod

Logical only used for testing. FALSE by default

Details

This is a crontab example running fireInTheHole() every night at 01 hours, Monday through Friday and with emails suppressed:

0  1 * * 1-5 Rscript -e 'rapbase::fireInTheHole()' >/dev/null
2>&1

Examples

# \donttest{
# Depends on the env var R_RAP_CONFIG_PATH being properly set
fireInTheHole()
#> Auto report data were upgraded: auto reports with no type defined now set to 'subscription'.
#> Auto report data were upgraded: auto reports with no owner name defined now set to an empty string.
#> Auto report data were upgraded: function params list un-nested. Please check that autor reports for registries are still working as expected.
# }