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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
SchedulerModifyTrigger (Function)
In french: PlanificateurModifieHoraire
Modifies the parameters of a trigger of a scheduled task, i.e. the parameters that will define the execution of a task. The parameters used to modify the trigger of the task are specified in the TriggerScheduledTask structure.
Note: To fill the ScheduleTaskPlan structure with the parameters of a task schedule, use the SchedulerTriggerProperties function.
Example
// La tâche est quotidienne, exécutée tous les jours à 10H à partir d'aujourd'hui
TriggerScheduledTask.Type = schedDaily
TriggerScheduledTask.Time = 1000
TriggerScheduledTask.BeginDate = Today()
NumHoraire = SchedulerAddTrigger("MaTache")

...

// Modification de l'heure d'exécution
TriggerScheduledTask.Time = 1030
SchedulerModifyTrigger("MaTache", NumHoraire)
Syntax
<Result> = SchedulerModifyTrigger(<Task name> , <Trigger identifier>)
<Result>: Boolean
  • True if successful,
  • False if an error occurs.
<Task name>: Character string
Name of the task to use.
<Trigger identifier>: Integer
Identifier of the trigger to use. This identifier was defined when the trigger was created with SchedulerAddTrigger.
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/28/2025

Send a report | Local help