ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
  • Necessary rights
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
HModifyTask (Function)
In french: HModifieTâche
HFSQL Client/ServerAvailable only with this kind of connection
Modifies a scheduled task on the HFSQL server defined by the connection. This task is in an hScheduledTask variable.
Remark: The HInfoTask function is used to retrieve the characteristics of a scheduled task in a variable of type hScheduledTask.
Example
MaConnexion is Connection
MaTâche is hScheduledTask

// Récupération des caractéristiques de la tâche
MaTâche = HInfoTask(MaConnexion, IDTâche)
// Modification de la tâche
MaTâche.Hour = SAI_Heure.Heure+1
HModifyTask(MaConnexion, IDTâche, MaTâche)
Syntax
<Result> = HModifyTask(<Connection> , <Task identifier> , <Scheduled task>)
<Result>: Boolean
  • True if the scheduled task was modified,
  • False if an error occurs.
<Connection>: Character string or Connection variable
Connection for which a task must be added. This connection corresponds to:
<Task identifier>: Integer
Identifier of the task to modify. This identifier is returned by HAddTask.
<Scheduled task>: hScheduledTask variable
Name of the hScheduledTask variable that contains the modifications.
Remarks

Necessary rights

To modify a task, you must have:
  • the corresponding rights (hRightsManageTask constant) on the server,
  • the rights to run the command linked to the scheduled task.
The task will be run with the account of user who created the task.
Note: If the server is switched off, the scheduled task will not be performed.. The scheduled task will be performed at the next available date when the server is switched on.
Component: wd300hf.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help