taskscheduler_delete: Delete a specific task which was scheduled in the Windows...

View source: R/taskscheduleR.R

taskscheduler_deleteR Documentation

Delete a specific task which was scheduled in the Windows task scheduler.

Description

Delete a specific task which was scheduled in the Windows task scheduler.

Usage

taskscheduler_delete(taskname)

Arguments

taskname

the name of the task to delete. See the example.

Value

the system call to schtasks /Delete

Examples

## Not run: 
x <- taskscheduler_ls()
x
# The field TaskName might have been different on Windows with non-english language locale
task <- x$TaskName[1] 
taskscheduler_delete(taskname = task)

## End(Not run)

taskscheduleR documentation built on July 9, 2023, 5:24 p.m.