We implement scheduling currently using the Quartz library
The QuartzComponent integrates with the Quartz
open source scheduler library. This allows to trigger service invocations at timed intervals to perform periodic tasks.
Here's an example of configuring a quartz component. You can add as many triggers as you wish to the component, at different timing intervals.
Error formatting macro: snippet: java.lang.IllegalArgumentException: Invalid url: must begin with a configured prefix.
Notes:
- The SimpleTrigger
repeatCount value count is starting at zero, meaning repeatCount=0 triggers once, repeatCount=1 triggers twice etc. (Quartz v1.5)
- Maybe properties like description or durability are interesting for you - for further details refer to the Quartz project JobDetail
JavaDoc API.
A number of properties can be configured on the component: