Learn R Programming

taskscheduleR (version 1.8)

taskscheduler_delete: 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)

Value

the system call to schtasks /Delete

Arguments

taskname

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

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab