From 97ac729c2bef48ec6dfceb58e98593fe463c8a6d Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期五, 19 九月 2025 10:41:30 +0800
Subject: [PATCH] 增加时间筛选字段
---
CoreCms.Net.Task/HangfireDispose.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CoreCms.Net.Task/HangfireDispose.cs b/CoreCms.Net.Task/HangfireDispose.cs
index 95b858c..00f8125 100644
--- a/CoreCms.Net.Task/HangfireDispose.cs
+++ b/CoreCms.Net.Task/HangfireDispose.cs
@@ -1,6 +1,6 @@
锘�/***********************************************************************
- * Project: CoreCms.Net *
- * Web: https://CoreCms.Net *
+ * Project: baifenBinfa.Net *
+ * Web: https://baifenBinfa.com *
* ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺 *
* Author: *
* Email: *
@@ -70,7 +70,10 @@
//鑷姩鍙栨秷鏈嶅姟鍣ㄨ鍗曚换鍔�
RecurringJob.AddOrUpdate<AutoCancelServiceOrderJob>("AutoCancelServiceOrderJob", s => s.Execute(), "0 0/5 * * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 姣�5鍒嗛挓鍙栨秷涓�娆¤鍗�
-
+ //瀹氭椂璁$畻缁忛攢鍟嗘帹骞胯垂鐢�
+ RecurringJob.AddOrUpdate<AutoSettleAchievementTotal>("AutoSettleAchievementTotal", s => s.Execute(), "0 0 0/1 * * ? ", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 姣忓皬鏃惰绠楃粡閿�鍟嗘帹骞胯垂鐢�
+ //瀹氭椂澶勭悊鍙告満閰嶉�佸崟瓒呮椂澶勭悊
+ RecurringJob.AddOrUpdate<AutoCloseCYPeiSongJobs>("AutoCloseCYPeiSongJobs", s => s.Execute(), "0 */6 * * *", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); // 姣�6灏忔椂鎵ц涓�娆¢厤閫佸崟瓒呮椂妫�娴� 0 */6 * * *
}
#endregion
--
Gitblit v1.9.1