PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Creates a schedule for a scheduled task. A schedule is one of the events that will trigger the execution of a task. Before creating the schedule, all the schedule settings must be defined in the TriggerScheduledTask structure structure.
Example
// Daily task, performed every day at 10:00 AM
// from today
TriggerScheduledTask.Type = schedDaily
TriggerScheduledTask.Time = 1000
TriggerScheduledTask.BeginDate = Today()
SchedulerAddTrigger("MyTask")
Syntax
<Result> = SchedulerAddTrigger(<Task Name>)
<Result>: Integer
  • Number of the created schedule. This identifier can be used by the functions for schedule management.
  • 0 if an error occurred.
<Task Name>: Character string (with quotes)
Name of the task to use. This task was created by SchedulerAddTask.
Remarks
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