register_fs_runner_task: Registers the epitweetr database task

View source: R/scheduler.R

register_fs_runner_taskR Documentation

Registers the epitweetr database task

Description

registers the epitweetr database task or stops if no configuration has been set or if it is already running

Usage

register_fs_runner_task()

Details

Registers the epitweetr database task or stops if no configuration has been set or if it is already running. This task need the dependencies, geonames and languages steps to have been successfully ran. This can be done on the shiny app configuration page or by manually running the detect_runner_task. This function will try to 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_fs_runner_task()
}

epitweetr documentation built on Nov. 16, 2023, 5:07 p.m.