From 230b95162de6c51203fb9b960e7755a6af409b34 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 07 四月 2026 10:02:59 +0800
Subject: [PATCH] 增加字段
---
cylsg/EzJob/StartUpcs.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/cylsg/EzJob/StartUpcs.cs b/cylsg/EzJob/StartUpcs.cs
index 8659fdd..ff8673f 100644
--- a/cylsg/EzJob/StartUpcs.cs
+++ b/cylsg/EzJob/StartUpcs.cs
@@ -18,7 +18,8 @@
services.AddSchedule(options =>
{
- options.AddJob<WeChatJob>(concurrent: false, Triggers.Hourly()); // 涓茶
+ options.AddJob<WeChatJob>(concurrent: false, Triggers.PeriodMinutes(5)); // 涓茶Triggers.PeriodMinutes(1)
+ options.AddJob<ClearWorkOnDay>(concurrent: false, Triggers.DailyAt(0));
});
}
--
Gitblit v1.9.1