| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 7003 |
| | | port: 7008 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | # 日志配置 |
| | | logging: |
| | | level: |
| | | org.quartz: DEBUG |
| | | com.ruoyi: warn |
| | | org.springframework: warn |
| | | |
| | |
| | | quartz: |
| | | job-store-type: jdbc # 使用数据库存储 |
| | | jdbc: |
| | | initialize-schema: always # 首次运行时自动创建表结构,成功后改为never |
| | | initialize-schema: never # 首次运行时自动创建表结构,成功后改为never |
| | | schema: classpath:org/quartz/impl/jdbcjobstore/tables_mysql_innodb.sql # MySQL表结构脚本 |
| | | properties: |
| | | org: |
| | |
| | | jobStore: |
| | | class: org.quartz.impl.jdbcjobstore.JobStoreTX |
| | | driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate # MySQL适配 |
| | | tablePrefix: QRTZ_ # 表名前缀,与脚本一致 |
| | | tablePrefix: qrtz_ # 表名前缀,与脚本一致 |
| | | isClustered: false # 单节点模式(集群需改为true) |
| | | clusterCheckinInterval: 10000 |
| | | txIsolationLevelSerializable: true |