Cron
Description
Input plugin for generating events at moments defined by cron expression.
Parameters
Usage name: cron
Supported modes: live
Parameter | Expected value | Required | Description |
---|---|---|---|
expression | <str> (e.g. */5 12-23 * * * ) | Yes | Valid cron expression |
count | <int> | Yes | Number of events to generate each interval |
Example
cron:
expression: "*/5 * * * *"
count: 1