task_ls: Get all the tasks which are currently scheduled at the...

task_lsR Documentation

Get all the tasks which are currently scheduled at the Windows task scheduler.

Description

Get all the tasks which are currently scheduled at the Windows task scheduler.

Usage

task_ls(taskname = NULL, wildcard = FALSE, encoding = "UTF-8", ...)

Arguments

taskname

a character string with the name of the task. Defaults to the filename. Should not contain any spaces.

wildcard

boolean, whether use regexpr to match task?

encoding

encoding of the CSV which schtasks.exe generates. Defaults to UTF-8.

...

optional arguments passed on to fread in order to read in the CSV file which schtasks generates

Value

a data.frame with scheduled tasks as returned by schtasks /Query for which the Taskname or second column in the dataset the preceding \ is removed

Examples

## Not run: 
d <- task_ls()
d

## End(Not run)

rpkgs/curlR documentation built on Jan. 30, 2023, 7:26 p.m.