表结构修改:
alter table xxl_job_group ADD update_time datetime null;
ALTER TABLE xxl_job_info CHANGE job_cron schedule_conf varchar(128) null;
alter table xxl_job_info add schedule_type varchar(50) not null default 'NONE';
alter table xxl_job_info add misfire_strategy varchar(50) not null default 'DO_NOTHING';
alter table xxl_job_log_report ADD update_time datetime null;
数据修改:
# 由于我这里使用的调度类型都是 CRON,所以直接修改所有的 schedule_type='CRON'
update xxl_job_info set schedule_type='CRON';
评论区