quartz.sql 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. delete
  2. from sys_job
  3. where job_name ='刷新冗余机构Path';
  4. INSERT INTO `sys_job`(`job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`,
  5. `status`, `create_by`, `create_time`, `update_by`, `update_time`)
  6. VALUES ('刷新冗余机构Path', 'DEFAULT', 'OrgTask.refreshRedundancyOrgPath', '0 0 13 * * ?', '1', '1', '0', NULL, now(), NULL,
  7. NULL);
  8. update sys_job
  9. set status = 1
  10. where invoke_target like 'MediatorTask%';
  11. delete
  12. from sys_job
  13. where invoke_target = 'HostTask.deletedRetryMsg()';
  14. INSERT INTO `sys_job`(`job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`,
  15. `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`)
  16. VALUES ('删除三日前ws重试消息', 'DEFAULT', 'HostTask.deletedRetryMsg()', '0 0 1 * * ?', '1', '1', '0',
  17. '超级管理员', '2024-11-28 15:26:34', '', NULL);
  18. delete from sys_job where invoke_target = 'HostTask.getCameraMissionRules()';
  19. INSERT INTO `sys_job`(`job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`,
  20. `status`, `create_by`, `create_time`, `update_by`, `update_time`)
  21. VALUES ('视频诊断绑定获取', 'DEFAULT', 'HostTask.getCameraMissionRules()', '0 0 2 * * ?', '1', '1', '1', NULL, now(), NULL,
  22. NULL);
  23. delete from sys_job where invoke_target = 'HostTask.checkWsOnLine()';
  24. INSERT INTO `sys_job`(`job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('WS在线状态检测', 'DEFAULT', 'HostTask.checkWsOnLine()', '0 0/1 * * * ?', '1', '1', '0', '景远超', '2024-12-12 16:01:15', '', NULL);
  25. delete
  26. from sys_job
  27. where job_name ='迁移操作日志';
  28. INSERT INTO `sys_job`(`job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`,
  29. `status`, `create_by`, `create_time`, `update_by`, `update_time`)
  30. VALUES ('迁移操作日志', 'DEFAULT', 'OperTask.transferOperLogToHistroy', '0 0 1 1 * ?', '1', '1', '0', NULL, now(), NULL,
  31. NULL);