Scheduler
How background jobs are scheduled.
Stroom has two main types of schedule, a simple frequency schedule that runs the job at a fixed time interval or a more complex cron schedule.
Note
This scheduler and its syntax are also used for Analytic Rules
.Frequency Schedules
A frequency schedule is expressed as a fixed time interval.
The frequency schedule expression syntax is stroom’s standard duration syntax and takes the form of a value followed by an optional unit suffix, e.g. 10m
for ten minutes.
Prefix | Time Unit |
---|---|
milliseconds | |
ms |
milliseconds |
s |
seconds |
m |
minutes |
h |
hours |
d |
days |
Cron Schedules
cron is a syntax for expressing schedules.
For full details of cron expressions see Cron Syntax
Stroom uses a scheduler called Quartz which supports cron expressions for scheduling.
Last modified November 13, 2024: Merge branch '7.4' into 7.5 (03eacad)