设定的表达式是
CronExpression '0 57 9 ? * ? *' is invalid
报错是
Caused by: java.text.ParseException: '?' can only be specified for Day-of-Month -OR- Day-of-Week.
at org.quartz.CronExpression.storeExpressionVals(CronExpression.java:614)
at org.quartz.CronExpression.buildExpression(CronExpression.java:487)
at org.quartz.CronExpression.<init>(CronExpression.java:276)
at org.quartz.CronScheduleBuilder.cronSchedule(CronScheduleBuilder.java:107)
... 1 more
解决方法:
不能再同一个表达式里面有两个?