PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<Connection variable>.ManageTask (Function)
In french: <Variable Connexion>.GèreTâche
HFSQL Client/ServerAvailable only with this kind of connection
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. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Syntax

Enabling/Disabling a scheduled task Hide the details

<Result> = <Connection>.ManageTask(<Scheduled task> [, <Enable/Disable>])
<Result>: Boolean
Former management mode of task (before the call to <Connection variable>.ManageTask):
  • True if the task was enabled,
  • False if the task was disabled.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which the task must be managed.
<Scheduled task>: Integer
Identifier of scheduled task to handle. This identifier is given by <Connection variable>.AddTask and <Connection variable>.ListTask.
<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> = <Connection>.ManageTask(<Scheduled task>)
<Result>: Boolean
  • True if the task is enabled,
  • False if the task is disabled.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which the task must be managed.
<Scheduled task>: Integer
Identifier of scheduled task to handle. This identifier is given by <Connection variable>.AddTask and <Connection variable>.ListTask.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment