cron icon indicating copy to clipboard operation
cron copied to clipboard

Add support for Last Day of Month ('L')

Open sauravhaloi opened this issue 4 years ago • 6 comments

Add a special character 'L' in the day-of-month field, which specifies the last day of the month

e.g: '0 0 18 L * ?' denotes the following:

At 6:00:00PM, on the last day of the month, every month

sauravhaloi avatar Jun 20 '21 14:06 sauravhaloi

是不是考虑下支持 '0 0 1 15,L * *' 这样的呢? :)

wjm3219 avatar Jun 30 '22 09:06 wjm3219

why now master branch not support L for last day of month

wsq2025 avatar Apr 27 '23 08:04 wsq2025

是不是考虑下支持 '0 0 1 15,L * *' 这样的呢? :)

http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html

When using the ‘L’ option, it is important not to specify lists, or ranges of values, as you’ll get confusing/unexpected results.

xuyang2 avatar May 08 '23 04:05 xuyang2