|
@@ -109,11 +109,11 @@ public class StaticScheduleTask {
|
|
|
// }
|
|
|
|
|
|
|
|
|
- @Scheduled(cron = "0 0/2 * * * ?")//添加定时任务 每2分钟执行一次
|
|
|
- private void getLongPollingPositionMsg() {
|
|
|
- logger.info("对接大华根据组织获取执法记录仪、单兵设备在线状态定时任务定时任务=>{}", DateUtils.dateTimeNow());
|
|
|
- remotePollingPositionMsgService.getLongPollingPositionMsg();
|
|
|
- }
|
|
|
+// @Scheduled(cron = "0 0/2 * * * ?")//添加定时任务 每2分钟执行一次
|
|
|
+// private void getLongPollingPositionMsg() {
|
|
|
+// logger.info("对接大华根据组织获取执法记录仪、单兵设备在线状态定时任务定时任务=>{}", DateUtils.dateTimeNow());
|
|
|
+// remotePollingPositionMsgService.getLongPollingPositionMsg();
|
|
|
+// }
|
|
|
|
|
|
|
|
|
// @Scheduled(cron = "0 0 0/1 * * ?")//添加定时任务 每1小时执行一次
|