Skip to content
Snippets Groups Projects
quartz.properties 1.95 KiB
Newer Older
  • Learn to ignore specific revisions
  • org.quartz.scheduler.instanceName = MetabaseScheduler
    
    Cam Saul's avatar
    Cam Saul committed
    org.quartz.scheduler.instanceId = AUTO
    
    # default is 10
    org.quartz.threadPool.threadCount = 10
    
    org.quartz.scheduler.skipUpdateCheck = true
    
    Cam Saul's avatar
    Cam Saul committed
    
    # Use the JDBC backend so we can cluster when running multiple instances!
    # See http://www.quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigJDBCJobStoreClustering
    #     http://www.quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigJobStoreTX.html
    #     http://www.quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigDataSources.html
    #     http://clojurequartz.info/articles/durable_quartz_stores.html
    org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
    org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
    org.quartz.jobStore.dataSource=db
    
    org.quartz.jobStore.isClustered = true
    
    
    # By default, Quartz will fire triggers up to a minute late without considering them to be misfired; if it cannot fire
    # anything within that period for one reason or another (such as all threads in the thread pool being tied up), the
    # trigger is considered misfired. Threshold is in milliseconds.
    #
    # Default threshould is one minute (60,000)
    # We'll bump it up to 15 minutes (900,000) because the sorts of things we're scheduling aren't extremely time-sensitive,
    # for example Pulses and Sync can be sent out more than a minute late without issue. (In fact, 15 minutes late is better
    # than not at all for such things)
    org.quartz.jobStore.misfireThreshold=900000
    
    
    # Useful for debugging when Quartz jobs run and when they misfire
    #org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingTriggerHistoryPlugin
    #org.quartz.plugin.triggHistory.triggerFiredMessage = Trigger \{1\}.\{0\} fired job \{6\}.\{5\} at: \{4, date, HH:mm:ss MM/dd/yyyy}
    #org.quartz.plugin.triggHistory.triggerCompleteMessage = Trigger \{1\}.\{0\} completed firing job \{6\}.\{5\} at \{4, date, HH:mm:ss MM/dd/yyyy\}.