|
|
|
|
SchedulerDeleteTask (Function) In french: PlanificateurSupprimeTâche Deletes a scheduled task. // Find out the name of the scheduled tasks sTaskList is string = SchedulerTaskList() IF sTaskList = "" THEN Info("No scheduled task is found on this computer") ELSE Info("Delete the existing tasks to start from zero") FOR n = 1 TO StringCount(sTaskList, CR) + 1 // Delete each scheduled task SchedulerDeleteTask(ExtractString(sTaskList, n, CR)) END // Check whether all the tasks have been deleted sTaskList = SchedulerTaskList() IF sTaskList <> "" THEN Info("Some scheduled tasks have not been deleted. There are: " + sTaskList) END END
Syntax
<Result> = SchedulerDeleteTask(<Task name>)
<Result>: Boolean - True if successful,
- False if an error occurred (the task does not exist or the task cannot be deleted).
<Task name>: Character string Name of the task to delete. This name was defined when the task was created by SchedulerAddTask. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|