Commit cf2e9b11 by 向延琳

修改定时任务

1 parent 6275b43e
......@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
*/
@Slf4j
@Component
@ElasticSimpleJob(jobName = "DeviceFreqSchedulerJob", cron = "30 30 23 * * ? *")
@ElasticSimpleJob(jobName = "DeviceFreqDailySchedulerJob", cron = "30 30 23 * * ? *")
public class DeviceFreqDailySchedulerJob implements SimpleJob {
@Autowired
......
......@@ -15,7 +15,7 @@ import org.springframework.stereotype.Component;
*/
@Slf4j
@Component
@ElasticSimpleJob(jobName = "DeviceFreqSchedulerJob", cron = "* 0 * * * ? *")
@ElasticSimpleJob(jobName = "DeviceFreqSchedulerJob", cron = "0 * * * * ? *")
public class DeviceFreqSchedulerJob implements SimpleJob {
@Autowired
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!