Scheduler
The Scheduler lets you run logic at a specific time or interval.
How to configure
The Scheduler's handler works very similarly to the HTTP Listener.
You can configure a start date and an end date for the Scheduler, though this isn't required.
How to define the schedule
The time or interval at which the Scheduler will run is defined in the schedule parameter.
It can be configured in 3 ways:
- Specific date: Selecting
One Timein the time control and setting a date and time. - Time interval: Selecting
Ratein the time control, setting a time interval and a time unit (minutes, hours, and days). - Cron expression: Selecting
Cron Expressionin the time control, setting a cron expression — with the difference that the smallest time granularity is the minute.
| Minutes | Hour | Day of month | Month | Day of week | Year | Result |
|---|---|---|---|---|---|---|
| 0 | 10 | * | * | ? | * | Runs every day at 10:00 in the configured timezone |
| 0/15 | * | * | * | ? | * | Runs every 15 minutes |
| 0 | 18 | ? | * | MON-FRI | * | Runs Monday through Friday at 18:00 in the configured timezone |
To make configuring cron expressions easier, the cron control has a section called Show next 10 trigger dates that displays the next 10 dates and times the Scheduler will run.
Limitations
- The smallest time unit for the
Scheduler's execution is the minute.