2016-12-07 19:43

@埋头苦干 #============================================================================
# 配置主要调度程序属性
#============================================================================
org.quartz.scheduler.instanceName = DefaultQuartzScheduler
org.quartz.scheduler.instanceId = AUTO
org.quartz.scheduler.rmi.export = false
org.quartz.scheduler.rmi.proxy = false
org.quartz.scheduler.wrapJobExecutionInUserTransaction = false

#============================================================================
# 配置线程池
#============================================================================
org.quartz.threadPool.threadCount = 10
org.quartz.threadPool.threadPriority = 5

#============================================================================
# 配置任务
#============================================================================
org.quartz.jobStore.misfireThreshold = 60000

org.quartz.scheduler.skipUpdateCheck = true

2016-12-06 20:19

我这边启动的时候总是提示这个错误,但是不影响定时器的运行:有谁清楚的吗?
log4j:ERROR Failed to excute sql
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
2016-12-06 20:18:27:848[INFO]: Quartz scheduler 'DefaultQuartzScheduler' initialized from the specified file : 'quartz_config.properties' from the class resource path.

2016-11-06 10:30

FormaterCronExpression.formaterCronExpression(‘表达式’)里面表达式2016-11-06 10:22:10 这种好像不行