1 Star 1 Fork 0

隔壁老于 / xxl-job-plus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

配置文件

xxl:
  job:
    plus:
      requestType: 默认基于hutool, 其他底层实现请自行拓展 参考 HuToolXxlJobRequest.java
    admin:
      ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
      addresses: http://xxl-job-admin:8080/
    ### xxl-job, access token
    accessToken:
    executor:
      ### xxl-job executor appname
      appname: yangpu-mid-screen
      ### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
      address:
      ### xxl-job executor server-info
      ip:
      port: 9999
      ### xxl-job executor log-path
      logpath: /data/applogs/xxl-job/jobhandler
      title: "xxl-job-plus"
      ### xxl-job executor log-retention-days
      logretentiondays: 30

自动注册任务注解

@XxlJob("hourIndexWarningJob")
@AutoRegister(scheduleConf = "0 0 0/1 * * ? ", author = "于占峰", desc = "每小时进行一次指标预警计算")

调用xxl-job的api



@Autowired
private XxlJobRequestFactory xxlJobRequestFactory;


        xlJobRequestFactory.getRequestTarget().login(address,username,password);


空文件

简介

spring boot 集成xxl-job,支持自动注册、动态调用api 展开 收起
Java
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/yuzhanfeng/xxl-job-plus.git
git@gitee.com:yuzhanfeng/xxl-job-plus.git
yuzhanfeng
xxl-job-plus
xxl-job-plus
master

搜索帮助