From 557c2711a3e103ebc3d0492344eca9730d5e92b2 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期一, 17 二月 2025 10:47:47 +0800 Subject: [PATCH] 增加司机配送单超时处理任务,防止一直不停手机定位信息, --- CoreCms.Net.Task/HangfireDispose.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Task/HangfireDispose.cs b/CoreCms.Net.Task/HangfireDispose.cs index 07fa16d..00f8125 100644 --- a/CoreCms.Net.Task/HangfireDispose.cs +++ b/CoreCms.Net.Task/HangfireDispose.cs @@ -72,6 +72,8 @@ //瀹氭椂璁$畻缁忛攢鍟嗘帹骞胯垂鐢� 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