分布式定时任务
This commit is contained in:
parent
761de38a0b
commit
d438062486
|
@ -1,5 +1,5 @@
|
||||||
### web
|
### web
|
||||||
server.port=8080
|
server.port=9090
|
||||||
server.servlet.context-path=/xxl-job-admin
|
server.servlet.context-path=/xxl-job-admin
|
||||||
|
|
||||||
### actuator
|
### actuator
|
||||||
|
@ -25,7 +25,7 @@ mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml
|
||||||
### xxl-job, datasource
|
### xxl-job, datasource
|
||||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
|
||||||
spring.datasource.username=root
|
spring.datasource.username=root
|
||||||
spring.datasource.password=root_pwd
|
spring.datasource.password=root
|
||||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
|
|
||||||
### datasource-pool
|
### datasource-pool
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<configuration debug="false" scan="true" scanPeriod="1 seconds">
|
<configuration debug="false" scan="true" scanPeriod="1 seconds">
|
||||||
|
|
||||||
<contextName>logback</contextName>
|
<contextName>logback</contextName>
|
||||||
<property name="log.path" value="/data/applogs/xxl-job/xxl-job-admin.log"/>
|
<property name="log.path" value="./xxl-job/xxl-job-admin.log"/>
|
||||||
|
|
||||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
<encoder>
|
<encoder>
|
||||||
|
|
Loading…
Reference in New Issue