Cron Expression is not working for last day of the month

后端 未结 5 777
小鲜肉
小鲜肉 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:13

    Expression syntactically correct with your condition: 0 10 10 L 1/1 ? *

    And this is workaround that you could be interested: Workaround for CronSequenceGenerator Last day of month?

提交回复
热议问题