|
|
|
|
SchedulerDeleteTask( Función) Elimina una tarea programada. // 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
Sintaxis
<Result> = SchedulerDeleteTask(<Task name>)
<Result>: booleano - True si se realizó la operación,
- False si se produce un error (si no existe la tarea o no se puede eliminar).
<Task name>: Cadena de caracteres Nombre de la tarea a eliminar. Este nombre fue definido cuando la tarea fue creada por SchedulerAddTask. Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|