CronExpression
A cron expression of six fields, with the syntax of Spring's CronExpression, evaluated without a dependency: second minute hour day-of-month month day-of-week.
Each field is
*(or?), a value, a rangea-b, a stepx/n(fromx, a value, a range or*, everyn), or a list of them separated by commas. Months may be namedJAN–DEC, days of the weekSUN–SAT, in any case; a day of the week is 0–7, both 0 and 7 Sunday.Day of month:
Lis the last day of the month,L-nthe n-th day before it,LWits last weekday,nWthe weekday nearest to daynwithin the month.Day of week:
dLis the last daydof the month (5L,FRIL),d#nits n-th dayd(MON#1).A day must match both day fields, as Spring reads them.
The macros
@yearly(@annually),@monthly,@weekly,@daily(@midnight) and@hourly.
next reads the fields as local times of a time zone: a local time that a daylight saving gap skips runs at the instant it would have been, later by the length of the gap (02:30 in a spring-forward gap runs at 03:30), unless an earlier time already ran at that instant; a local time that an overlap repeats runs once, at its earlier offset.