如果集群:

分布式任务调度平台XXL-Job集群版搭建_JAVA

 保存后:

分布式任务调度平台XXL-Job集群版搭建_xml_02

 

启动两个 job

 

第二个job的配置:

# web port
server.port=8082

# log config
logging.config=classpath:logback.xml


### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
xxl.job.admin.addresses=http://127.0.0.1:8080/xxl-job-admin

### xxl-job executor address
xxl.job.executor.appname=toov5-job
xxl.job.executor.ip=
xxl.job.executor.port=9998

### xxl-job, access token
xxl.job.accessToken=

### xxl-job log path
xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler
### xxl-job log retention days
xxl.job.executor.logretentiondays=-1

 分布式任务调度平台XXL-Job集群版搭建_xml_03

 

 

 点击恢复:

分布式任务调度平台XXL-Job集群版搭建_JAVA_04

点击执行!

 

分布式任务调度平台XXL-Job集群版搭建_xml_05

分布式任务调度平台XXL-Job集群版搭建_xml_06

 

 成功!