Cron Expression is not working for last day of the month

后端 未结 5 767
小鲜肉
小鲜肉 2021-01-16 20:40

I want to schedule a task to run on last day of every month at 10:10 AM. The cron expression is 0 10 10 L * ?

Now the problem is CronSequenceGener

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-16 21:05

    The last day of the month is not supported by Spring. See CronSequenceGenerator's javadoc.

提交回复
热议问题