修改定时任务初始化查询条件

This commit is contained in:
whyour 2022-03-06 00:07:59 +08:00
parent bcbc8a633f
commit 0c54ca95d9

View File

@ -57,7 +57,6 @@ export default async () => {
// 更新2.11.3以前的脚本路径 // 更新2.11.3以前的脚本路径
CrontabModel.findAll({ CrontabModel.findAll({
where: { where: {
isDisabled: { [Op.ne]: 1 },
command: { command: {
[Op.or]: [ [Op.or]: [
{ [Op.like]: `%\/ql\/scripts\/%` }, { [Op.like]: `%\/ql\/scripts\/%` },