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)

bnosac/taskscheduleR documentation built on March 18, 2024, 8:37 a.m.