From fc3d7015ee8e6583ecea2396215552ebb2a01340 Mon Sep 17 00:00:00 2001 From: "2248356998 qq.com" <2248356998@qq.com> Date: Tue, 23 Sep 2025 22:36:45 +0800 Subject: [PATCH] =?UTF-8?q?sqldb=E6=8F=92=E4=BB=B6=20=E6=B8=85=E7=90=86?= =?UTF-8?q?=E6=95=B0=E6=8D=AEcron=E8=A1=A8=E8=BE=BE=E5=BC=8F=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Plugin/ThingsGateway.Plugin.DB/SqlDB/SqlDBProducer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/ThingsGateway.Plugin.DB/SqlDB/SqlDBProducer.cs b/src/Plugin/ThingsGateway.Plugin.DB/SqlDB/SqlDBProducer.cs index c164bfd73..e2bf5efc4 100644 --- a/src/Plugin/ThingsGateway.Plugin.DB/SqlDB/SqlDBProducer.cs +++ b/src/Plugin/ThingsGateway.Plugin.DB/SqlDB/SqlDBProducer.cs @@ -78,7 +78,7 @@ public partial class SqlDBProducer : BusinessBaseWithCacheIntervalVariable protected override List ProtectedGetTasks(CancellationToken cancellationToken) { var list = base.ProtectedGetTasks(cancellationToken); - list.Add(ScheduledTaskHelper.GetTask("0/10 * * * * *", DeleteByDayAsync, null, LogMessage, cancellationToken)); + list.Add(ScheduledTaskHelper.GetTask("0 0 * * *", DeleteByDayAsync, null, LogMessage, cancellationToken)); return list; }