28 lines
478 B
Markdown
28 lines
478 B
Markdown
# XXL-JOB Spring Boot Starter
|
|
|
|
## Quick Start
|
|
|
|
pom.xml:
|
|
|
|
```xml
|
|
<dependency>
|
|
<groupId>com.simaek</groupId>
|
|
<artifactId>xxl-job-spring-boot-starter</artifactId>
|
|
<version>2.4.0</version>
|
|
</dependency>
|
|
```
|
|
|
|
application.yaml:
|
|
|
|
```yaml
|
|
xxl.job:
|
|
admin:
|
|
addresses: http://10.10.10.1:8080/xxl-job-admin
|
|
executor:
|
|
appname: job-executor
|
|
address: http://10.10.10.2:9999
|
|
ip: 10.10.10.2
|
|
port: 9999
|
|
logpath: logs/jobhandler
|
|
logretentiondays: 30
|
|
``` |