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.

106 lines
1.6 KiB

@type = content-type: application/json;charset=utf-8
@localhost = http://127.0.0.1:8001
###
POST {{localhost}}/job/add
{{type}}
{
"param": {
"jobName": "task_job_1003",
"jobGroupName": "tcm",
"triggerName": "task_trigger_1003",
"triggerGroupName": "tcm_trigger",
"startTime": "1627280545000",
"endTime": "1627291345000",
"job" : 0,
"cron": "0/5 * * * * ?",
"notifyWay":2,
"notifyUrl": "2377881365@qq.com",
"notifyParam": "{\"subject\":\"\",\"content\":\"怀寿\"}"
}
}
###
POST {{localhost}}/job/modifyTime
{{type}}
{
"param": {
"triggerName": "task_trigger_1002",
"triggerGroupName": "tcm_trigger",
"startTime": "1627280545000",
"endTime": "1627291345000",
"job" : 0,
"cron": "0/5 * * * * ?",
"notifyWay":2,
"notifyUrl": "2377881365@qq.com",
"notifyParam": "{\"subject\":\"\",\"content\":\"怀寿\"}"
}
}
###
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