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

如果集群:

 保存后:

 

启动两个 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

 

 

 

 点击恢复:

点击执行!

 

 

 成功!

posted @ 2018-11-17 23:18  toov5  阅读(5401)  评论(0编辑  收藏  举报