Based on configured schedule, the given trigger will never fire. 博客分类: Dev Error quartzJavaXML
程序员文章站
2024-03-09 14:27:47
...
org.quartz.SchedulerException: Based on configured schedule, the given trigger will never fire. at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:745) at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:266) at org.quartz.xml.JobSchedulingDataProcessor.scheduleJob(JobSchedulingDataProcessor.java:749) at org.quartz.xml.JobSchedulingDataProcessor.scheduleJobs(JobSchedulingDataProcessor.java:594) at org.quartz.xml.JobSchedulingDataProcessor.processFileAndScheduleJobs(JobSchedulingDataProcessor.java:566) at org.quartz.plugins.xml.JobInitializationPlugin.processFile(JobInitializationPlugin.java:392) at org.quartz.plugins.xml.JobInitializationPlugin.start(JobInitializationPlugin.java:324) at org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPluginWithUserTransactionSupport.java:144) at org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2139) at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:450) at org.quartz.impl.StdScheduler.start(StdScheduler.java:146)
原因:被quartz调度的某个任务job的触发者cronTrigger的触发时间通过cron表达式配置了个不合法或过去的时间;该job永远不会被执行到
上一篇: Netty