Springboot集成xxl-Job
2020-12-17 13:33
                         标签:server   app   一个数据库   url   coding   github   bdc   tables   访问    xxl-job一个轻量级的分布的调度中间件,详情介绍自己到官网看:https://www.xuxueli.com/xxl-job/ Springboot集成xxl-Job 标签:server   app   一个数据库   url   coding   github   bdc   tables   访问    原文地址:https://www.cnblogs.com/pigmen/p/14100813.html一、前言
二、客户端(执行器)
compile group: ‘com.xuxueli‘, name: ‘xxl-job-core‘, version: ‘2.2.0‘
xxl:
  job:
    accessToken:
    admin:
      addresses: ‘http://127.0.0.1:8080/xxl-job-admin‘ ## 控制面板的地址
    executor:
      ip:
      port: 9600 ## 注册到调度器的端口
      appname: admin-api ## 注册到调度器的名称
      address:
      logpath: ‘log‘ ### xxl-job executor log-path
      logretentiondays: 30 ### xxl-job executor log-retention-days

三、控制面板(调度器)
https://github.com/xuxueli/xxl-job
xxl_job,然后将项目根目录下doc/db/tables_xxl_job.sql导入application-dev.properties,配置好数据库信息如下:spring.datasource.url=jdbc:mysql://124.71.157.236:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
spring.datasource.username=root
spring.datasource.password=mima
http://localhost:8080/xxl-job-admin/,用户名密码admin/123456



四、注意事项及问题
文章标题:Springboot集成xxl-Job
文章链接:http://soscw.com/index.php/essay/36857.html