首页 > 解决方案 > 石英不触发触发器

问题描述

我在使用石英的2.2.2.RELEASE版本中遇到问题,该工作已安排好,但即使安排了 37 个工作但没有人被解雇,但没有按时解雇,他们都应该在 9 月 5 日被解雇,但他们没有也不会在 9 月 7 日被解雇,有趣的是在石英表中,即使在 9 月 7 日,下一次点火时间也显示为 9 月 5 日,一旦我安排了一项新工作,所有这些都会更新。

配置

org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.job-store-type =jdbc
org.quartz.jobStore.useProperties=false
# Using JobStoreTX
# Configuring JDBCJobStore with the Table Prefix
org.quartz.jobStore.driverDelegateClass =org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.tablePrefix =SERVICE_QRTZ_
org.quartz.dataSource.myDs.driver=com.mysql.jdbc.Driver
org.quartz.dataSource.myDs.maxConnections = 15
org.quartz.scheduler.jobFactory.class = org.quartz.simpl.SimpleJobFactory
org.quartz.jobStore.misfireThreshold=60000
org.quartz.jobStore.clusterCheckinInterval=20000
org.quartz.jobStore.isClustered = true
org.quartz.scheduler.instanceId = AUTO
org.quartz.scheduler.instanceName=schedulerFactoryBean ```

标签: javaspring-bootquartz-scheduler

解决方案


推荐阅读