ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Scheduler functions
  • Reading a trigger
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Reads the properties of a trigger of a scheduled task and updates the TriggerScheduledTask structure.
Reminder The task schedule is used to define the events that will trigger the execution of a task.
Example
// Lecture des propriétés de l'horaire 1 de la tâche MaTâche
SchedulerTriggerProperties("MaTâche", 1)
Info("Le début de la tâche MaTâche est " + TriggerScheduledTask.BeginDate)
Syntax
<Result> = SchedulerTriggerProperties(<Task name> , <Trigger identifier>)
<Result>: Boolean
  • True if successful,
  • False if an error occurs.
<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: wd300std.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help