Commit e36aff0f by 杨林龙

优化设备激活定时任务同步时间

1 parent ed56c8ce
...@@ -18,7 +18,7 @@ import java.util.Date; ...@@ -18,7 +18,7 @@ import java.util.Date;
*/ */
@Slf4j @Slf4j
@Component @Component
@ElasticSimpleJob(jobName = "DeviceActiveSchedulerJob", cron = "0 30 5 * * ?") @ElasticSimpleJob(jobName = "DeviceActiveSchedulerJob", cron = "0 30 3 * * ?")
public class DeviceActiveSchedulerJob implements SimpleJob { public class DeviceActiveSchedulerJob implements SimpleJob {
@Autowired @Autowired
......
...@@ -2,7 +2,7 @@ package cn.com.glsx.schedulerjob.task.modules.service; ...@@ -2,7 +2,7 @@ package cn.com.glsx.schedulerjob.task.modules.service;
import cn.com.glsx.Application; import cn.com.glsx.Application;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!