Advertisement
Guest User

Untitled

a guest
Dec 26th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. quartz {
  2. autoStartup = true
  3. jdbcStore = true
  4. waitForJobsToCompleteOnShutdown = true
  5. exposeSchedulerInRepository = false
  6.  
  7. props {
  8. scheduler.skipUpdateCheck = true
  9. }
  10.  
  11. }
  12.  
  13. environments {
  14. test {
  15. quartz {
  16. jdbcStore = false
  17. autoStartup = false
  18. }
  19. }
  20. }
  21.  
  22.  
  23. grails.config.locations = ["classpath:conf/quartz.properties"]
  24.  
  25. #============================================================================
  26. # Configure Main Scheduler Properties
  27. #============================================================================
  28.  
  29. org.quartz.scheduler.instanceName = StaffScheduler
  30. org.quartz.scheduler.instanceId = AUTO
  31.  
  32. #============================================================================
  33. # Configure ThreadPool
  34. #============================================================================
  35.  
  36. org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
  37. org.quartz.threadPool.threadCount = 25
  38. org.quartz.threadPool.threadPriority = 5
  39.  
  40. #============================================================================
  41. # Configure JobStore
  42. #============================================================================
  43.  
  44. org.quartz.jobStore.misfireThreshold = 60000
  45.  
  46. org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
  47. org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  48. org.quartz.jobStore.useProperties = false
  49. org.quartz.jobStore.dataSource = development
  50. org.quartz.jobStore.tablePrefix = Z_STAFF_SCHEDULER_
  51.  
  52. org.quartz.jobStore.isClustered = true
  53. org.quartz.jobStore.clusterCheckinInterval = 20000
  54.  
  55. #============================================================================
  56. # Configure Datasources
  57. #============================================================================
  58.  
  59.  
  60. org.quartz.dataSource.development.driver = com.mysql.jdbc.Driver
  61. org.quartz.dataSource.development.URL = jdbc:mysql://localhost:3306/testing?useSSL=false
  62. org.quartz.dataSource.development.user = testing
  63. org.quartz.dataSource.development.password = nopass
  64. org.quartz.dataSource.development.maxConnections = 10
  65. org.quartz.dataSource.development.validationQuery = select 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement