欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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永远不会被执行到
相关标签: quartz Java XML

上一篇: Netty

下一篇: