PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
HManageTask (Function)
In French: HGèreTâche
HFSQL Client/ServerAvailable only with this kind of connection
Enables or disables a scheduled task on a 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.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
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> = HManageTask(<Connection Name> , <Task Identifier> [, <Enable/Disable>])
<Result>: Boolean
Former management mode of task (before the call to HManageTask):
  • True if the task was enabled,
  • False if the task was disabled.
<Connection Name>: Character string (with or without quotes)
Name of the connection for which the task must be managed. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Task Identifier>: Integer
Identifier of the task to use. 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 Name> , <Task Identifier>)
<Result>: Boolean
  • True if the task is enabled,
  • False if the task is disabled.
<Connection Name>: Character string (with or without quotes)
Name of the connection for which the task must be managed. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Task Identifier>: Integer
Identifier of the task to use. This identifier is given by HAddTask and HListTask.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment