任务调度-部署环境.http 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ### 任务调度==查询全部
  2. POST http://192.168.10.7:22222/common/scheduling/task/scheduled/list/all
  3. Content-Type: application/json
  4. ### 任务调度==查询正在调度的任务
  5. POST http://192.168.10.7:22222/common/scheduling/task/scheduled/list/scheduled
  6. Content-Type: application/json
  7. ### 修改
  8. POST http://192.168.10.7:22222/common/scheduling/task/scheduled/update
  9. Content-Type: application/json
  10. {
  11. "id": 212694981268344832,
  12. "registeredTask": {
  13. "id": 211894487067267072
  14. },
  15. "status": "ON",
  16. "description": "重新调度1201任务"
  17. }
  18. ### 以下3条为日常任务调度
  19. ### 任务调度-每天定时出报表
  20. POST http://192.168.10.7:22222/common/scheduling/task/scheduled/add
  21. Content-Type: application/json
  22. {
  23. "id": 211895896529571840,
  24. "registeredTask": {
  25. "id": 211894517467582464
  26. },
  27. "status": "ON",
  28. "scheduledType": "CRON",
  29. "scheduledParameter": {
  30. "cronExpression": "0 00 15 * * *"
  31. },
  32. "description": "每天定时出报表"
  33. }
  34. ### 任务调度-每天定时清理临时表
  35. POST http://192.168.10.7:22222/common/scheduling/task/scheduled/add
  36. Content-Type: application/json
  37. {
  38. "registeredTask": {
  39. "id": 211895428466216960
  40. },
  41. "status": "ON",
  42. "scheduledType": "CRON",
  43. "scheduledParameter": {
  44. "cronExpression": "0 20 1 * * *"
  45. },
  46. "description": "每天定时清理临时表"
  47. }
  48. ### 任务调度-每小时从工单系统更新数据
  49. POST http://192.168.10.7:22222/common/scheduling/task/scheduled/add
  50. Content-Type: application/json
  51. {
  52. "registeredTask": {
  53. "id": 211894454016151552
  54. },
  55. "status": "ON",
  56. "scheduledType": "CRON",
  57. "scheduledParameter": {
  58. "cronExpression": "0 5 * * * *"
  59. },
  60. "description": "每小时从工单系统更新数据"
  61. }