#quartz¼¯ÈºÅäÖÃ
|
#¸ÃÅäÖÃÎļþÒѾÆúÓà ֻÊÇΪÁ˼ì²éÅäÖú¬ÒåÔÝʱ±£Áô
|
# ===========================================================================
|
# Configure Main Scheduler Properties µ÷¶ÈÆ÷ÊôÐÔ
|
# ===========================================================================
|
#µ÷¶È±êʶÃû ¼¯ÈºÖÐÿһ¸öʵÀý¶¼±ØÐëʹÓÃÏàͬµÄÃû³Æ
|
org.quartz.scheduler.instanceName=DefaultQuartzScheduler
|
#IDÉèÖÃΪ×Ô¶¯»ñÈ¡ ÿһ¸ö±ØÐ벻ͬ
|
org.quartz.scheduler.instanceid=AUTO
|
#============================================================================
|
# Configure ThreadPool
|
#============================================================================
|
#Ï̳߳صÄʵÏÖÀࣨһ°ãʹÓÃSimpleThreadPool¼´¿ÉÂú×㼸ºõËùÓÐÓû§µÄÐèÇó£©
|
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
|
#Ö¸¶¨Ïß³ÌÊý£¬ÖÁÉÙΪ1£¨ÎÞĬÈÏÖµ£©(Ò»°ãÉèÖÃΪ1-100Ö±½ÓµÄÕûÊýºÏÊÊ)
|
org.quartz.threadPool.threadCount = 20
|
#ÉèÖÃÏ̵߳ÄÓÅÏȼ¶£¨×î´óΪjava.lang.Thread.MAX_PRIORITY 10£¬×îСΪThread.MIN_PRIORITY 1£¬Ä¬ÈÏΪ5£©
|
org.quartz.threadPool.threadPriority = 5
|
#============================================================================
|
# Configure JobStore
|
#============================================================================
|
# ÐÅÏ¢±£´æÊ±¼ä ĬÈÏÖµ60Ãë
|
org.quartz.jobStore.misfireThreshold = 60000
|
#Êý¾Ý±£´æ·½Ê½ÎªÊý¾Ý¿â³Ö¾Ã»¯
|
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
|
#Êý¾Ý¿â´úÀíÀ࣬һ°ãorg.quartz.impl.jdbcjobstore.StdJDBCDelegate¿ÉÒÔÂú×ã´ó²¿·ÖÊý¾Ý¿â
|
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
#JobDataMapsÊÇ·ñ¶¼ÎªStringÀàÐÍ
|
org.quartz.jobStore.useProperties = false
|
#Êý¾Ý¿â±ðÃû Ëæ±ãÈ¡
|
#org.quartz.jobStore.dataSource = myDS
|
#±íµÄǰ׺£¬Ä¬ÈÏQRTZ
|
org.quartz.jobStore.tablePrefix = qrtz_
|
#ÊÇ·ñ¼ÓÈ뼯Ⱥ
|
org.quartz.jobStore.isClustered = true
|
#µ÷¶ÈʵÀýʧЧµÄ¼ì²éʱ¼ä¼ä¸ô
|
org.quartz.jobStore.clusterCheckinInterval = 20000
|
#============================================================================
|
# Configure Datasources ʹÓÃHC¿ò¼Ü×Ô´øµÄdatasources
|
#============================================================================
|
#Êý¾Ý¿âÒýÇæ
|
#org.quartz.dataSource.myDS.driver = com.mysql.jdbc.Driver
|
#Êý¾Ý¿âÁ¬½Ó
|
#org.quartz.dataSource.myDS.URL = jdbc:mysql://localhost:3306/testdb?characterEncoding=utf8&allowMultiQueries=true&useSSL=false&autoReconnect=true
|
#Êý¾Ý¿âÓû§
|
#org.quartz.dataSource.myDS.user = root
|
#Êý¾Ý¿âÃÜÂë
|
#org.quartz.dataSource.myDS.password = root
|
#ÔÊÐí×î´óÁ¬½Ó
|
#org.quartz.dataSource.myDS.maxConnections = 5
|
#ÑéÖ¤²éѯsql,¿ÉÒÔ²»ÉèÖÃ
|
#org.quartz.dataSource.myDS.validationQuery=select 0 from dual
|