quartz定时器改名后报错,删除多余的定时表数据

原创 2020-09-27 16:55 阅读(23)次

quartz定时器改名后报错,需要清除原来表中的对应数据,删除多余的定时表数据

删除语句如下,对应的定时信息要传入:

DELETE from qrtz_cron_triggers where TRIGGER_NAME = 'personTimeSpaceTaskTrigger';
DELETE from qrtz_triggers where TRIGGER_NAME = 'personTimeSpaceTaskTrigger';
DELETE from qrtz_job_details where JOB_NAME = 'personTimeSpaceTask';