This commit is contained in:
cdle
2021-10-17 14:56:59 +08:00
parent 4484cdbe30
commit f6523b9b79
+2 -2
View File
@@ -51,7 +51,7 @@ func init() {
return err
}
for {
time.Sleep(time.Microsecond * 300)
time.Sleep(time.Second)
data, _ := GetCronLog(cron.Value)
if strings.Contains(data, "执行结束...") {
s.Reply(data)
@@ -78,7 +78,7 @@ func init() {
return err
}
for {
time.Sleep(time.Microsecond * 300)
time.Sleep(time.Second)
data, _ := GetCronLog(cron.Value)
if strings.Contains(data, "执行结束...") {
s.Reply(data)