get_tasks: Get the 'detect_loop' task status

View source: R/scheduler.R

get_tasksR Documentation

Get the detect_loop task status

Description

Reads the status of the detect_loop tasks and update it with changes requested by the Shiny app

Usage

get_tasks(statuses = list())

Arguments

statuses

Character vector for limiting the status of the returned tasks, default: list()

Details

After reading the tasks.json file and parsing it with jsonlite, this function will update the necessary fields in the tasks for executing and monitoring them.

Value

A named list containing all necessary information to run and monitor the detect loop tasks.

See Also

download_dependencies

update_geonames

update_languages

detect_loop

generate_alerts

Examples

## Not run: 
   #getting tasks statuses
   library(episomer)
   message('Please choose the episomer data directory')
   setup_config(file.choose())
   tasks <- get_tasks()

## End(Not run)

episomer documentation built on Nov. 26, 2026, 5:07 p.m.