?不要再把定时任务关闭了

This commit is contained in:
zhugongping 2026-04-28 08:45:25 +08:00
parent 5a583fc149
commit 0abbc6427c

View File

@ -44,7 +44,7 @@ public class DeviceJobServiceImpl implements IDeviceJobService {
/**
* 项目启动时,初始化定时器 主要是防止手动修改数据库导致未同步到定时任务处理(注:不能手动修改数据库ID和任务组名,否则会导致脏数据)
*/
//@PostConstruct
@PostConstruct
public void init() throws SchedulerException, TaskException {
scheduler.clear();
// 设备定时任务