|
@@ -28,7 +28,7 @@ public class JobScheduler {
|
|
|
* 10min一次
|
|
|
*/
|
|
|
@Async
|
|
|
- @Scheduled(cron = "0 */10 * * * ?")
|
|
|
+ //@Scheduled(cron = "0 */10 * * * ?")
|
|
|
public void syncBattery() {
|
|
|
deviceService.syncBattery();
|
|
|
}
|
|
@@ -38,7 +38,7 @@ public class JobScheduler {
|
|
|
* 10min一次
|
|
|
*/
|
|
|
@Async
|
|
|
- @Scheduled(cron = "0 */2 * * * ?")
|
|
|
+ //@Scheduled(cron = "0 */2 * * * ?")
|
|
|
public void syncAlarmMsg() {
|
|
|
alarmMsgService.syncAlarmMsg();
|
|
|
}
|
|
@@ -48,7 +48,7 @@ public class JobScheduler {
|
|
|
* 2min一次
|
|
|
*/
|
|
|
@Async
|
|
|
- @Scheduled(cron = "0 */2 * * * ?")
|
|
|
+ //@Scheduled(cron = "0 */2 * * * ?")
|
|
|
public void syncAlarmMsgWarnIng() {
|
|
|
alarmMsgWarnService.syncAlarmMsg();
|
|
|
}
|
|
@@ -58,7 +58,7 @@ public class JobScheduler {
|
|
|
* 1小时一次
|
|
|
*/
|
|
|
@Async
|
|
|
- @Scheduled(cron = "0 0 */1 * * ?")
|
|
|
+ //@Scheduled(cron = "0 0 */1 * * ?")
|
|
|
public void syncAlarmMsgStatus() {
|
|
|
alarmMsgService.syncAlarmMsgStatus();
|
|
|
}
|
|
@@ -68,7 +68,7 @@ public class JobScheduler {
|
|
|
* 1小时一次
|
|
|
*/
|
|
|
@Async
|
|
|
- @Scheduled(cron = "0 0 */1 * * ?")
|
|
|
+ //@Scheduled(cron = "0 0 */1 * * ?")
|
|
|
public void syncDuration() {
|
|
|
deviceDurationService.syncDuration();
|
|
|
}
|