### 任务调度==查询全部 POST http://127.0.0.1:22222/common/scheduling/task/scheduled/list/all Content-Type: application/json ### 任务调度==查询正在调度的任务 POST http://127.0.0.1:9999/common/scheduling/task/scheduled/list/scheduled Content-Type: application/json ### 任务调度==删除 POST http://127.0.0.1:22222/common/scheduling/task/scheduled/delete Content-Type: application/json 211537692419297280 ### 任务调度==更新 POST http://127.0.0.1:22222/common/scheduling/task/scheduled/update Content-Type: application/json { "id": 211596024697982976, "registeredTask": { "id": 211593346244808704 }, "status": "ON", "description": "abc" } ### 任务调度==新增 1. 新增马上调度 POST http://127.0.0.1:22222/common/scheduling/task/scheduled/add Content-Type: application/json { "registeredTask": { "id": 211528578876182528 }, "status": "ON", "scheduledType": "IMMEDIATELY", "description": "测试用..." } ### 2. 新增单次调度 POST http://127.0.0.1:9999/demo/scheduling/task/scheduled/add Content-Type: application/json { "registeredTask": { "id": 2 }, "status": "ON", "scheduledType": "ONCE", "methodParameter": "abc", "scheduledParameter": { "startTime": "2023-11-27 17:04:00" } } ### 2. 新增单次调度2 POST http://127.0.0.1:9999/common/scheduling/task/scheduled/add Content-Type: application/json { "registeredTask": { "id": 213707591296094208 }, "status": "ON", "scheduledType": "ONCE", "methodParameter": "abc", "scheduledParameter": { "delayOfSeconds": 5 } } ### 3. 新增定时调度 POST http://127.0.0.1:22222/common/scheduling/task/scheduled/add Content-Type: application/json { "registeredTask": { "id": 211593346244808704 }, "status": "ON", "scheduledType": "CRON", "scheduledParameter": { "cronExpression": "0 15 14 * * *" } } ### 4. 新增周期调度 POST http://127.0.0.1:9999/demo/scheduling/task/scheduled/add Content-Type: application/json { "registeredTask": { "id": 1 }, "status": "ON", "scheduledType": "INTERVAL", "scheduledParameter": { "periodOfSeconds": 15 } } ### 5. 新增固定延时调度 POST http://127.0.0.1:9999/common/scheduling/task/scheduled/add Content-Type: application/json { "registeredTask": { "id": 213707591296094208 }, "status": "ON", "scheduledType": "FIXED_DELAY", "scheduledParameter": { "delayOfSeconds": 15 } }