View source: R/taskscheduleR.R
taskscheduler_stop | R Documentation |
Stop the run of a specific task which is running in the Windows task scheduler.
taskscheduler_stop(taskname)
taskname |
the name of the task to stop. See the example. |
the system call to schtasks /End
## Not run:
myscript <- system.file("extdata", "helloworld.R", package = "taskscheduleR")
taskscheduler_create(taskname = "myfancyscript", rscript = myscript,
schedule = "ONCE", starttime = format(Sys.time() + 10*60, "%H:%M"))
taskscheduler_runnow("myfancyscript")
Sys.sleep(5)
taskscheduler_stop("myfancyscript")
taskscheduler_delete(taskname = "myfancyscript")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.