About this endpoint
What it does
Returns the next fire times for a standard 5-field cron expression. You provide the cron expression and can optionally limit how many future times are returned with count.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| count | Integer | No | Number of fire times to return. Default: 5; minimum: 1; maximum: 20. |
| expression | String | Yes | Standard 5-field cron expression. |
Response
Returns a JSON object with a next string array field and an expression string field. The next array contains the computed upcoming fire times, and expression echoes the cron expression associated with the result.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| next | String Array | No | Upcoming fire times returned for the provided cron expression. |
| expression | String | No | The cron expression associated with the returned schedule. |