|
|
|
|
|
HModifyTask (Function) In french: HModifieTâche
Available 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. MaConnexion is Connection
MaTâche is hScheduledTask
MaTâche = HInfoTask(MaConnexion, IDTâ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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|