Skip to main content
Version: 7.2402.x.x RR

TimeEventSource

The TimeEventSource uses the Quartz Scheduling Framework to generate events at configurable time intervals. A syntax similar to the well known cron string syntax is used for the configuration.

Configuration

NameType, usage constraints, defaultsDescription
cronStringrequired: paraVal
default: none
type: cron string
A string in cron syntax describing when the event is fired. It uses a space separated list of values for: second, minute, hour, day of month, month, day of week, year

Example

The next example defines an event that fires at minutes 0 and 30 for hours 0, 6, 12 or 18.

<eventSource name="timer" type="TimeEventSource">
<dp:paraVal name="cronString" value="0 0,30 0,6,12,18 * * ?"/>
</eventSource>

See the CronTrigger tutorial of the Quartz Framework documentation for more examples.