Learn R Programming

rapbase (version 1.24.2)

fireInTheHole: Kick off functions at Rapporteket

Description

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

Run this code
# \donttest{
# Depends on the env var R_RAP_CONFIG_PATH being properly set
fireInTheHole()
# }

Run the code above in your browser using DataLab