ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Scheduler functions
  • Parameters regarding the user
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modifies the parameters of a scheduled task. These parameters are the ones specified in the ScheduledTask structure.
Remark: To fill the ScheduledTask structure with the parameters of a task, use SchedulerTaskProperties.
Example
// Initialize the default values
SchedulerReset()
// Describe the task to add
ScheduledTask.Application = "Calc.exe"  // Path of the program
ScheduledTask.User = "Janis"     // User of the session
ScheduledTask.Password = EDT_PWD          // Password of the session
ScheduledTask.Comment = "Calculation Program"      // Comment of the task
ScheduledTask.DeleteWhenDone = False      // Boolean set to True if the task must be deleted
// Add the task that was previously described
SchedulerAddTask("Calculator")
 
...
 
// Modifying the comment
ScheduledTask.Comment = "Calculator"
SchedulerModifyTask("Calculator")
Syntax
<Result> = SchedulerModifyTask(<Task name>)
<Result>: Boolean
  • True if successful,
  • False if an error occurred.
<Task name>: Character string
Name of the task to use. This name was defined when the task was created by SchedulerAddTask.
Remarks

Parameters regarding the user

If the variable ScheduledTask.Application is modified, the password of the user must be specified again (ScheduledTask.Password variable).
Business / UI classification: Business Logic
Component: wd290std.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/29/2022

Send a report | Local help