1、2345080
This commit is contained in:
parent
5299ec0b48
commit
c5d9add1bf
@ -10,6 +10,7 @@ import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@ -50,9 +51,10 @@ public class AbnormalDeviceProcessor{
|
||||
return null;
|
||||
}
|
||||
|
||||
//@Scheduled(cron = "0 0/10 * * * ?") // 每30分钟执行一次
|
||||
@Scheduled(cron = "0 0/10 * * * ?") // 每30分钟执行一次
|
||||
private void checkDevice() {
|
||||
logger.info("zny checkDevice");
|
||||
checkNoDataDevice("2345080","2345068","2410190");
|
||||
//checkNoDataDevice("2345084","2415276","2345076");
|
||||
//checkNoDataDevice("2345085","2345068","2345075");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user