AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL Client/Server
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
Enables or disables a scheduled task on an HFSQL Client/Server server. This function can also be used to find out the status of a scheduled task.
It gives you the ability to disable a task (during the holidays for example) then to re-enable it.
Syntax

Enabling/Disabling a scheduled task Hide the details

<Result> = HManageTask(<Connection> , <Scheduled task> [, <Enable/Disable>])
<Result>: Boolean
Old task management mode (before calling HManageTask):
  • True if the task was enabled,
  • False if the task was disabled.
<Connection>: Character string or Connection variable
Connection for which the task must be managed. This connection corresponds to:
<Scheduled task>: Integer
Identifier of scheduled task to handle. This identifier is given by HAddTask and HListTask.
<Enable/Disable>: Optional boolean
  • True to enable the task,
  • False to disable the task.

Finding out the status of a scheduled task Hide the details

<Result> = HManageTask(<Connection> , <Scheduled task>)
<Result>: Boolean
  • True if the task is enabled,
  • False if the task is disabled.
<Connection>: Character string or Connection variable
Connection for which the task must be managed. This connection corresponds to:
<Scheduled task>: Integer
Identifier of scheduled task to handle. This identifier is given by HAddTask and HListTask.
Component: wd290hf.dll
Versión mínima requerida
  • Versión 12
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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