From 0a186ad2a182d3a26d485b588312746054eb2f41 Mon Sep 17 00:00:00 2001 From: zhoukeda <1315948824@qq.com> Date: Thu, 6 Jul 2023 11:32:05 +0800 Subject: [PATCH] BUG --- ProductionMgr/Tnb.ProductionMgr/PrdCancelCloseDownService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdCancelCloseDownService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdCancelCloseDownService.cs index 2e726661..541f2ac0 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdCancelCloseDownService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdCancelCloseDownService.cs @@ -313,7 +313,7 @@ namespace Tnb.ProductionMgr if (sendModels != null && sendModels.Count > 0) { - DateTime executeTime = DateTime.Now.AddMinutes(2); + DateTime executeTime = DateTime.Now.AddMinutes(basPushRuleD.interval); // string cron = $"0 {executeTime.Minute} {executeTime.Hour} {executeTime.Day} {executeTime.Month} ? {executeTime.Year}"; string cron = $"0 {executeTime.Minute} {executeTime.Hour} {executeTime.Day} {executeTime.Month} ?";