register_detect_runner_task {epitweetr} | R Documentation |
Registers the alert detection task
Description
registers the alert detection task or stops if no configuration has been set or if it is already running
Usage
register_detect_runner_task()
Details
Registers the alert detection task or stops if no configuration has been set or if it is already running. To generate alerts, this task needs the tweet collection to had successfully run since the last time it ran. This function will use the task scheduler on windows and will fall back to launching the runner as a separate process (attached to this session) on Linux.
Value
Nothing
Examples
if(FALSE){
#getting tasks statuses
library(epitweetr)
message('Please choose the epitweetr data directory')
setup_config(file.choose())
register_detect_runner_task()
}
[Package epitweetr version 2.2.16 Index]