63.3 FAQ
- List the supported valid range and allowed special characters in
Cron expression parts?
Below is the list of supported valid range and allowed special characters in Cron expression parts,
Table 63-4 Cron expression - Supported valid range and allowed special characters
Part Valid Range Allowed Special Chars Second 0-59 *, / Minute 0-59 *, / Hour 0-23 *, / Day Of Month 1-31 *,/, ? Month 1-12 or JAN-DEC *,/ Day Of Week 1-7 or SUN – SAT *,/,? Year 1970 - 2099 *,/ Format is,
<Second><SPACE><Minute><SPACE><Hour><SPACE><DayOfMonth><SPACE><Month><SPACE><DayOfWeek><SPACE><Year>
Example:
Table 63-5 Cron expression - Supported valid range and allowed special characters
Cron Expression Description * */5 * * JAN ? * Every Second, Every 5 minute starting from 0 minute, every hour, every day on Jan month, every year * 10/5 * * JAN ? * Every Second, Every 5 minute starting from 10 minute, every hour, every day on Jan month, every year 0 0 5/2 * * ? * At 0 second, at 0 minute, every 2 hour starting from 5 hour, every day every month every year 0 0 5/2 ? * ? * Invalid Cron Expression, specifying both day of month and day of week not supported 0 0 5/2 * * * * Invalid Cron Expression, specifying both day of month and day of week not supported Note:
- Support for specifying both a day-of-week AND a day-of-month parameter is not implemented within the Quartz framework which is core of OBDX Timer Framework.
- Special character like L, W, #, Comma, Hyphen are currently not supported by OBDX Timer Framework.
Parent topic: Timer Maintenance