定时任务不自动执行
请教一下各位大佬,有没有遇到定时任务不自动执行的问题?配置copy的官方示例,本机测试可以,放服务器上就不行,必须在管理系统里面点“停止”——“启动”,才会按时正常跑。困扰很久了,求大神指点一条明路...
quartz:
job-store-type: jdbc
initialize-schema: embedded
auto-startup: true
overwrite-existing-jobs: true
properties:
org:
quartz:
scheduler:
instanceName: MyScheduler
instanceId: AUTO
jobStore:
class: org.quartz.impl.jdbcjobstore.JobStoreTX
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
tablePrefix: QRTZ_
isClustered: true
misfireThreshold: 60000
clusterCheckinInterval: 10000
threadPool:
class: org.quartz.simpl.SimpleThreadPool
threadCount: 10
threadPriority: 5
threadsInheritContextClassLoaderOfInitializingThread: true
页:
[1]