ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Scheduler functions
  • Reading a trigger
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
Reads the properties of a trigger of a scheduled task and updates the TriggerScheduledTask structure.
Reminder: A trigger allows you to define the events that will start the execution of a task.
Example
// Read the properties of trigger 1 of MyTask
SchedulerTriggerProperties("MyTask", 1)
Info("The beginning of MyTask task is " + TriggerScheduledTask.BeginDate)
Syntax
<Result> = SchedulerTriggerProperties(<Task name> , <Trigger identifier>)
<Result>: Boolean
  • True if successful,
  • False if an error occurred.
<Task name>: Character string
Name of the task associated with the trigger to be retrieved. This name was defined when the task was created by SchedulerAddTask.
<Trigger identifier>: Integer
Identifier of the trigger to use. This identifier was defined when the trigger was created with SchedulerAddTrigger.
Remarks

Reading a trigger

When a trigger is read, the TriggerScheduledTask structure is automatically populated. The TriggerScheduledTask.Caption variable contains the description of the trigger (i.e., the description of the event that will start the task). This variable is read-only.
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