AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones del programador de Windows
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes a scheduled task.
Example
// 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
Component: wd290std.dll
Versión mínima requerida
  • Versión 10
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 29/08/2022

Señalar un error o enviar una sugerencia | Ayuda local