| 1 |
|
| 2 |
#============================================================================ |
| 3 |
# Configure Main Scheduler Properties |
| 4 |
#============================================================================ |
| 5 |
|
| 6 |
org.quartz.scheduler.instanceName: TestScheduler |
| 7 |
org.quartz.scheduler.instanceId: instance_one |
| 8 |
|
| 9 |
#============================================================================ |
| 10 |
# Configure ThreadPool |
| 11 |
#============================================================================ |
| 12 |
|
| 13 |
org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool |
| 14 |
org.quartz.threadPool.threadCount: 5 |
| 15 |
org.quartz.threadPool.threadPriority: 5 |
| 16 |
|
| 17 |
#============================================================================ |
| 18 |
# Configure JobStore |
| 19 |
#============================================================================ |
| 20 |
|
| 21 |
org.quartz.jobStore.misfireThreshold: 60000 |
| 22 |
|
| 23 |
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX |
| 24 |
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate |
| 25 |
org.quartz.jobStore.useProperties=false |
| 26 |
org.quartz.jobStore.dataSource=myDS |
| 27 |
org.quartz.jobStore.tablePrefix=QRTZ_ |
| 28 |
org.quartz.jobStore.isClustered=true |
| 29 |
|
| 30 |
#============================================================================ |
| 31 |
# Configure Datasources |
| 32 |
#============================================================================ |
| 33 |
|
| 34 |
org.quartz.dataSource.myDS.driver: org.postgresql.Driver |
| 35 |
org.quartz.dataSource.myDS.URL: jdbc:postgresql://localhost:5432/quartz |
| 36 |
org.quartz.dataSource.myDS.user: quartz |
| 37 |
org.quartz.dataSource.myDS.password: quartz |
| 38 |
org.quartz.dataSource.myDS.maxConnections: 5 |
| 39 |
org.quartz.dataSource.myDS.validationQuery: select 0 |