From 49150bb946aac0461caa788dbd3b9a0429d6897d Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 26 八月 2023 19:50:07 +0800
Subject: [PATCH] debug

---
 crontask/cron_task.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/crontask/cron_task.go b/crontask/cron_task.go
index b50db4d..da60256 100644
--- a/crontask/cron_task.go
+++ b/crontask/cron_task.go
@@ -27,7 +27,7 @@
 		return err
 	}
 
-	s.Every(1).Minutes().StartImmediately().Do(func() {
+	s.Every(59).Seconds().StartImmediately().Do(func() {
 		plcConfig, code := service.NewDevicePlcService().GetDevicePlc()
 		if code != ecode.OK {
 			return

--
Gitblit v1.8.0