From 0211098b05e576a5ade20c740320afb0c115311c Mon Sep 17 00:00:00 2001 From: weidong Date: Wed, 14 Feb 2024 15:06:49 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BC=98=E5=8C=96=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/imdroid/beidou/task/DeviceStatusChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sec-beidou/src/main/java/com/imdroid/beidou/task/DeviceStatusChecker.java b/sec-beidou/src/main/java/com/imdroid/beidou/task/DeviceStatusChecker.java index ba215da4..8f8762e8 100644 --- a/sec-beidou/src/main/java/com/imdroid/beidou/task/DeviceStatusChecker.java +++ b/sec-beidou/src/main/java/com/imdroid/beidou/task/DeviceStatusChecker.java @@ -46,7 +46,7 @@ public class DeviceStatusChecker { GnssDeviceMapper deviceMapper; static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); - @Scheduled(cron = "0 18,59 * * * ?") // 每半时执行一次 + @Scheduled(cron = "0 18,48 * * * ?") // 每半时执行一次 public void checkDeviceState() throws ExecutionException, InterruptedException { List groupCfgs = groupMapper.selectList(null); HashMap group_cycle_map=new HashMap<>();