当前位置:网站首页>xxl-job使用注意事项
xxl-job使用注意事项
2022-07-24 01:33:00 【慢积跬步】
1、传参:
任务参数是json字符串格式,使用String类型接受。
String param = XxlJobHelper.getJobParam();
PriceRequestVo reqVo = JSON.parseObject(param , PriceRequestVo.class);

注意“任务参数格式”,中间不能有空格,否则会报错:
//正确格式:
{"months":1,"ReqParamList":[{"Code":"aa"}]}
//错误格式:
{
"months":"",
"ReqParamList":[
{
"Code":"aa",
}
]
}
2、使用xxl执行任务时,机器地址可以从 执行器管理-Online机器地址 选择需要执行的环境,否则所有环境都执行。
说明:
xxl-job可以用来执行定时任务,还可以界面传参执行任务,也可以选择“执行一次”。
边栏推荐
- 医院综合布线
- Summary of HCIA knowledge points
- Topological sorting & critical path
- Hcip day 12 notes
- 医院网络安全架构
- Arm architecture and programming 5 -- GCC and makefile (based on Baiwen arm architecture and programming tutorial video)
- The first day of little bear pie
- Hcip day 11 notes
- 复制可读路径不好使
- Detailed explanation of OSPF in hcip
猜你喜欢

HCIP中OSPF详解

Draw a two coordinate diagram with MATLAB (the simplest in the whole network)

Hcip day 12 notes

MySQL Basics (operators, sorting and paging, multi table queries, functions)

Rip --- routing information protocol

What is the Gantt chart function of Zen

Detailed explanation of OSPF in hcip

Basic knowledge of mathematical vector

Arm architecture and programming 5 -- GCC and makefile (based on Baiwen arm architecture and programming tutorial video)

Hardware knowledge 2 -- Protocol class (based on Baiwen hardware operation Daquan video tutorial)
随机推荐
128. Longest continuous sequence
SCM learning notes 4--gpio (based on Baiwen STM32F103 series tutorials)
Review of HCIA
Yinshimei Invisalign oral scan referral method (export oral scan data + online consultation)
Database paradigm and schema decomposition
Number of combinations....
Hcip network type, PPP session, data link layer protocol
c语言支持yaml配置文件通用方法
Simple Gan instance code
Second and third order trade expressions of linear algebra
OSPF(第六天笔记)
Hcip experiment
小熊派第一天
Hcip day 9 notes
jenkins多任務並發構建
OSI、TCP/IP(A1)
Draw a two coordinate diagram with MATLAB (the simplest in the whole network)
机房建设资料
選址與路徑規劃問題(Lingo,Matlab實現)
The first day of little bear pie