ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Scheduler functions
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
Creates a trigger for a scheduled task. A trigger is one of the events that will start the execution of a task. Before creating the trigger, all its 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 recently created trigger. This identifier can be used in schedule management functions.
  • 0 if an error occurs.
<Task name>: Character string
Name of the task to use. This task was created by SchedulerAddTask.
Business / UI classification: Business Logic
Component: wd300std.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