mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Initial quartz scheduler and processes
This commit is contained in:
64
qqq-backend-core/src/main/resources/quartz.properties
Normal file
64
qqq-backend-core/src/main/resources/quartz.properties
Normal file
@ -0,0 +1,64 @@
|
||||
#
|
||||
# QQQ - Low-code Application Framework for Engineers.
|
||||
# Copyright (C) 2021-2023. Kingsrook, LLC
|
||||
# 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
||||
# contact@kingsrook.com
|
||||
# https://github.com/Kingsrook/
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#
|
||||
#org.quartz.scheduler.instanceName = MyScheduler
|
||||
#org.quartz.threadPool.threadCount = 3
|
||||
#org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
|
||||
#
|
||||
|
||||
|
||||
|
||||
#============================================================================
|
||||
# Configure Main Scheduler Properties
|
||||
#============================================================================
|
||||
org.quartz.scheduler.instanceName = MyClusteredScheduler
|
||||
org.quartz.scheduler.instanceId = AUTO
|
||||
|
||||
#============================================================================
|
||||
# Configure ThreadPool
|
||||
#============================================================================
|
||||
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
|
||||
org.quartz.threadPool.threadCount = 5
|
||||
org.quartz.threadPool.threadPriority = 5
|
||||
|
||||
#============================================================================
|
||||
# Configure JobStore
|
||||
#============================================================================
|
||||
org.quartz.jobStore.misfireThreshold = 60000
|
||||
|
||||
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
|
||||
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
org.quartz.jobStore.useProperties = false
|
||||
org.quartz.jobStore.dataSource = myDS
|
||||
org.quartz.jobStore.tablePrefix = QUARTZ_
|
||||
|
||||
org.quartz.jobStore.isClustered = true
|
||||
org.quartz.jobStore.clusterCheckinInterval = 20000
|
||||
|
||||
#============================================================================
|
||||
# Configure Datasources
|
||||
#============================================================================
|
||||
org.quartz.dataSource.myDS.driver = com.mysql.cj.jdbc.Driver
|
||||
org.quartz.dataSource.myDS.URL = jdbc:mysql://localhost:3306/nutrifresh_one
|
||||
org.quartz.dataSource.myDS.user = root
|
||||
org.quartz.dataSource.myDS.password = BXca6Bubxf!ECt7sua6L
|
||||
org.quartz.dataSource.myDS.maxConnections = 5
|
||||
org.quartz.dataSource.myDS.validationQuery=select 1
|
Reference in New Issue
Block a user