PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
AppServerModifyScheduledTask (Function)
In french: ServeurAppliModifieTâchePlanifiée
Modifies the description of an existing scheduled task.
Example
// Changes the programming of the task in order to run it every hour
MyScheduledTask.Month = "*"
MyScheduledTask.DayOfMonth = "*"
MyScheduledTask.DayOfWeek = "*"
MyScheduledTask.Hour = "*"
MyScheduledTask.Minute = "0"
 
IF NOT AppServerModifyScheduledTask(MyScheduledTask) THEN
// Error case (if the task does not exist anymore for example)
END
Syntax
<Result> = AppServerModifyScheduledTask(<Scheduled task>)
<Result>: Boolean
  • True if the scheduled task was modified.
  • False otherwise. To find out the name of the error, use the function ErrorInfo with the constant errMessage.
<Scheduled task>: appServerScheduledTask variable
Name of appServerScheduledTask variable corresponding to the description of scheduled task to modify.
Remark: The scheduled task is sought via its name. If the scheduled task is not found, the function returns an error.
Component: wd260page.dll
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment