Learn R Programming

taskscheduleR (version 1.1)

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)

Arguments

taskname

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

Value

the system call to schtasks /Delete

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab