R/manage.R
raplogManager.Rd
A tool to aid archiving and cleanup of logs containing data on use of shiny application and reports at Rapporteket. This function is ment to be called from a scheduler (e.g. chron) directly or as part of a process chain initiated by a scheduler
raplogManager(overSize = 1024 * 1000)
overSize | Integer size in bytes from where larger files will be listed
as candidates for archiving. Not used by this function per se but
rather passed on to |
---|
Silently exits after successful file operations
To become orchestrator
runAutoReport
in package rapbase
# \donttest{ # Depend on the R_RAP_CONFIG_PATH being defined and that relevant # configuration is present raplogManager()#> Error in raplogManager(): No path to configuration data provided. Cannot continue!# }