quartz Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

发布时间:2020-05-08 11:40:57来源:本站阅读(975)

    用QUARTZ做了个定时任务,结果报错 Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

    原因是:天(月的多少号)和天(周几)不能同时都为*,当有一个为*时,另一个要是?,才行。 

    我的 cron表达式是 0 11 11 * * * *,所以就报错了。


关键字quartz