From 1cc0144ea1c22c94c838fc87fa2bf623993eb1b4 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 11 十二月 2024 13:48:44 +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