cron job that will never execute

前端 未结 5 1033
耶瑟儿~
耶瑟儿~ 2020-12-05 22:22

Is there any way to create a cron expression for not running the job at all. I though of using this expression :

0 0 0 1 1 ? 3099

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 23:13

    I created a duplicate (click here to see) for your question, and agree with your initial proposal. After testing, it appears Quartz will never execute a cron expression with a year above 2300.

提交回复
热议问题