PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Necessary rights
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
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 found in an advanced hScheduledTask variable.
Note: HInfoTask is used to retrieve the characteristics of a scheduled task in an advanced hScheduledTask variable.
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.
Example
MyTask is hScheduledTask
// Retrieve the characteristics of the task
MyTask = HInfoTask(MyConnection, TaskID)
// Modify the task
MyTask..Hour = EDT_Time..Hour+1
HModifyTask(MyConnection, TaskID, MyTask)
Syntax
<Result> = HModifyTask(<Connection Name> , <Task Identifier> , <Name of Scheduled Task>)
<Result>: Boolean
  • True if the scheduled task was modified,
  • False if an error occurred.
<Connection Name>: Character string (with or without quotes)
Name of connection for which a task will be added. This connection was defined in the data model editor, or by HDescribeConnection or HOpenConnection.
<Task Identifier>: Integer
Identifier of the task to modify. This identifier is returned by HAddTask.
<Name of Scheduled Task>: Advanced hScheduleTask type
Name of hScheduledTask variable used.
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: The scheduled task will not be performed if the server is switched off. The scheduled task will be performed at the next available date when the server is switched on.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment