通过postman或者curl命令调用xxljob的执行器的方法:
设置方法和数据如下
post http://1.2.3.4:12345/run
Content-Type: application/json;charset=UTF-8
{"jobId":708,"executorHandler":"FileJobService","executorParams":"/ ","executorBlockStrategy":"SERIAL_EXECUTION","executorTimeout":1800,"logId":47299802,"logDateTime":1720683798620,"glueType":"BEAN","glueUpdatetime":1695870751000,"broadcastIndex":0,"broadcastTotal":1}
json可以通过xxljob的管理页面任务的编辑查看对应的json值。
成功返回200
1万+

被折叠的 条评论
为什么被折叠?



