PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
Returns the characteristics of a scheduled task in a hScheduledTask variable. You can for example read some characteristics of scheduled task in order to modify them later with HModifyTask. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
MyTask is hScheduledTask
// Retrieve characteristics of scheduled task
MyTask = HInfoTask(MyConnection, TaskID)
// Modify the scheduled task
MyTask..Hour = EDT_TIME..Hour + 1
HModifyTask(MyConnection, TaskID, MyTask)
Syntax
<Result> = HInfoTask(<Connection> , <Scheduled task>)
<Result>: hScheduledTask variable
hScheduledTask variable containing the characteristics of the specified scheduled task.
<Connection>: Character string (with or without quotes) or Connection variable
Connection for which a task must be managed. This connection corresponds to:
<Scheduled task>: Integer
Identifier of scheduled task, returned by HAddTask and HListTask.
Remarks
  • To check the existence of a task, use HListTask: simply check if the task identifier is among the tasks returned by HListTask.
  • Versions 23 and later
    To retrieve the characteristics of a scheduled task, you must have the rights to connect (hRightsConnection or hRightsEncryptedConnection) to the database that contains the stored procedure.
    New in version 23
    To retrieve the characteristics of a scheduled task, you must have the rights to connect (hRightsConnection or hRightsEncryptedConnection) to the database that contains the stored procedure.
    To retrieve the characteristics of a scheduled task, you must have the rights to connect (hRightsConnection or hRightsEncryptedConnection) to the database that contains the stored procedure.
Component : wd250hf.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment