in the springboot-quartz cluster, I did not configure the cluster, but when three projects were started at the same time, I found that two tomcat were performing the same task at the same time, but then only one tomcat was performing the same task at a time. Is this a coincidence or is it just like this
? my configuration file is
`org.quartz.scheduler.instanceName=MyScheduler
org.quartz.threadPool.threadCount=10
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.tablePrefix=QRTZ_
org.quartz.jobStore.dataSource=myDS
org.quartz.dataSource.myDS.driver=com.mysql.cj.jdbc.Driver
org.quartz.dataSource.myDS.URL=jdbc:mysql://localhost:3307/mzd?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false
org.quartz.dataSource.myDS.user=root
org.quartz.dataSource .myDS.password = root
org.quartz.dataSource.myDS.maxConnections= 5`
my scheduled task trigger mechanism is executed every minute
moreover, the first tomcat started each time will not be executed for a whole minute. For example, the first started tomcat will execute the following directly at 11:06:28 on 2018-11-20, but the other two tomcat started later will not execute
.does anyone have a complete and correct quartz cluster configuration for boot?
the following cluster configurations that I have configured are all dark (in idea, that is to say, it doesn"t work. I don"t know what"s going on)
org.quartz.scheduler.instanceId = AUTO
org.quartz.jobStore.isClustered = false
org.quartz.jobStore.clusterCheckinInterval = 20000