Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ad59c10
authored
Jun 20, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update document
parent
293ffca1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
doc/XXL-JOB官方文档.md
doc/db/tables_xxl_job.sql
xxl-job-admin/src/main/resources/application.properties
doc/XXL-JOB官方文档.md
View file @
2ad59c10
## 《分
布式任务调度平台XXL-JOB》
## 《分
布式任务调度平台XXL-JOB》
...
@@ -359,7 +359,7 @@ XXL-JOB是一个轻量级分布式任务调度平台,其核心设计目标是
...
@@ -359,7 +359,7 @@ XXL-JOB是一个轻量级分布式任务调度平台,其核心设计目标是
调度中心配置内容说明:
调度中心配置内容说明:
### 调度中心JDBC链接:链接地址请保持和 2.1章节 所创建的调度数据库的地址一致
### 调度中心JDBC链接:链接地址请保持和 2.1章节 所创建的调度数据库的地址一致
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
-
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
_
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.username=root
spring.datasource.username=root
spring.datasource.password=root_pwd
spring.datasource.password=root_pwd
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
...
@@ -419,7 +419,7 @@ docker run -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/x
...
@@ -419,7 +419,7 @@ docker run -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/x
* 如需自定义 mysql 等配置,可通过 "PARAMS" 指定,参数格式 RAMS="--key=value --key2=value2" ;
* 如需自定义 mysql 等配置,可通过 "PARAMS" 指定,参数格式 RAMS="--key=value --key2=value2" ;
* 配置项参考文件:/xxl-job/xxl-job-admin/src/main/resources/application.properties
* 配置项参考文件:/xxl-job/xxl-job-admin/src/main/resources/application.properties
*/
*/
docker run -e PARAMS="--spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
-
job?Unicode=true&characterEncoding=UTF-8" -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/xxl-job-admin
docker run -e PARAMS="--spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl
_
job?Unicode=true&characterEncoding=UTF-8" -p 8080:8080 -v /tmp:/data/applogs --name xxl-job-admin -d xuxueli/xxl-job-admin
```
```
...
...
doc/db/tables_xxl_job.sql
View file @
2ad59c10
CREATE
database
if
NOT
EXISTS
`xxl
-
job`
default
character
set
utf8
collate
utf8_general_ci
;
CREATE
database
if
NOT
EXISTS
`xxl
_
job`
default
character
set
utf8
collate
utf8_general_ci
;
use
`xxl
-
job`
;
use
`xxl
_
job`
;
...
...
xxl-job-admin/src/main/resources/application.properties
View file @
2ad59c10
...
@@ -17,7 +17,7 @@ spring.freemarker.settings.number_format=0.##########
...
@@ -17,7 +17,7 @@ spring.freemarker.settings.number_format=0.##########
mybatis.mapper-locations
=
classpath:/mybatis-mapper/*Mapper.xml
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?Unicode=true&characterEncoding=UTF-8
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/xxl
_
job?Unicode=true&characterEncoding=UTF-8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
root_pwd
spring.datasource.password
=
root_pwd
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment