To learn more about triggers in general, see section Understanding Triggers.
Scheduler trigger works as a timer that starts the execution of actions in your configuration after a time period. Use the scheduler trigger to set up repetitive automated execution of time-dependent actions.
Scheduler trigger is an active trigger. This means that it does not wait for an event change, but starts executing the assigned actions as soon as the defined time interval ends.
Example 29. Example
Typical usage: An ERP system produces 6000 packaging label files daily. Automation prints the labels, and stores the used label files in a dedicated directory. Due to a large number used label files, the company needs to set up automated purging of files that are older than 48 hours. Automation uses the scheduler trigger to delete the obsolete label files.
Scheduler trigger automatically takes daylight saving time (DST) clock changes into account. The trigger always takes current system time as a reference:
-
On the DST starting date (summer), the trigger executes at the first hour that is past the hour of the missing defined time.
Example 30. Example
Scheduler trigger time is set for 2.30 h. Clock jumps from 2.00 h to 3.00 h. The trigger executes at 3.00 h summer time.
-
On the DST ending date (winter), the trigger executes only at the first occurrence of the defined time.
Example 31. Example
Scheduler trigger time is set for 2.30 h. Clock jumps from 3.00 h to 2.00 h. The trigger has already executed. It does not activate the actions again when the clock is 2.30 h winter time.
Use recurrences to define how often should the scheduler trigger event repeat.
-
Execute trigger: sets the trigger repetition time interval.
-
Every (X) seconds/minutes/hours sets the trigger event repetition time in the available time units. Define the interval length under Seconds/Minutes/Hours (X).
-
Daily repeats the trigger event every day at the selected time. Define the time of daily repetition under Time:.
-
On specific days repeats the trigger at the defined time of the selected day(s). Set the repetition using Time: and days.
Note Define the time values in 24-hour format.
-