PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Parameters regarding the user
  • Operating system required
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
Modifies the parameters of a scheduled task. These parameters are the ones specified in the ScheduledTask structure.
Note: 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")

...

// Modify 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 (with quotes)
Name of the task to use. This name was defined when the task was created by SchedulerAddTask.
Remarks

Parameters regarding the user

If the ScheduledTask.Application variable is modified, then the password of the user must be specified again (ScheduledTask.Password variable).

Operating system required

The SchedulerXXX functions are not available in Windows NT if a version earlier than Internet Explorer 5.0 is installed.
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment