You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
1.6 KiB

@type = content-type: application/json;charset=utf-8
@localhost = http://127.0.0.1:8001
@test = http://192.168.0.99:8000
###
POST {{localhost}}/job/add
{{type}}
{
"param": {
"jobName": "task_job_002",
"jobGroupName": "tcm",
"triggerName": "task_trigger_002",
"triggerGroupName": "tcm_trigger",
"startTime": "1629366460000",
"endTime": "1629366760000",
"job" : 0,
"cron": "0/15 * * * * ?",
"notifyWay":0,
"notifyUrl": "http://www.baidu.com/",
"notifyParam": "{}"
}
}
###
POST {{localhost}}/job/modifyTime
{{type}}
{
"param": {
"triggerName": "task_trigger_1005",
"triggerGroupName": "tcm_trigger",
"startTime": "1628755807000",
"endTime": "1628763007000",
"job" : 0,
"cron": "0/15 * * * * ?",
"notifyWay":3,
"notifyUrl": "18701389847",
"notifyParam": "{\"templateId\":686476,\"params\":[\"1234\",\"20\"]}"
}
}
###
POST {{localhost}}/job/pause
{{type}}
{
"param": {
"jobName": "task_job_1001",
"jobGroupName": "tcm"
}
}
###
POST {{localhost}}/job/resume
{{type}}
{
"param": {
"jobName": "task_job_1001",
"jobGroupName": "tcm"
}
}
###
POST {{localhost}}/job/remove
{{type}}
{
"param": {
"jobName": "task_job_1001",
"jobGroupName": "tcm",
"triggerName": "task_trigger_1001",
"triggerGroupName": "tcm_trigger"
}
}
###
POST http://localhost:6060/elasticJob/schedule?name=elasticJob1&cron=0/15 * * * * ?
### index
POST http://localhost:6060/elasticJob/index
yefei
2019
lizhi:niandi
licai