From 68a510485c5ba56ebdeaf390f6d26b03d293027f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B5=87=E6=96=87=E9=BE=99?= Date: Tue, 22 Oct 2024 18:05:36 +0800 Subject: [PATCH] QuartzModuleInstall --- ds-wms-service/DS.Module.Quartz/QuartzModuleInstall.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ds-wms-service/DS.Module.Quartz/QuartzModuleInstall.cs b/ds-wms-service/DS.Module.Quartz/QuartzModuleInstall.cs index c1b621af..31e85ca7 100644 --- a/ds-wms-service/DS.Module.Quartz/QuartzModuleInstall.cs +++ b/ds-wms-service/DS.Module.Quartz/QuartzModuleInstall.cs @@ -53,9 +53,6 @@ namespace DS.Module.QuartzModuleInstall .ForJob(jobKey3) .WithIdentity(nameof(FeeCustTemplateJob) + "-trigger") .WithCronSchedule("1 59 23 * * ?") - .WithSimpleSchedule(x => x - .WithIntervalInSeconds(60) - .WithRepeatCount(1)) ); }); @@ -73,7 +70,8 @@ namespace DS.Module.QuartzModuleInstall q.AddTrigger(opts => opts .ForJob(jobKey1) .WithIdentity(nameof(WSLReportJob) + "-trigger") - .WithCronSchedule("0 0 1 * * ?")); + .WithCronSchedule("0 0 1 * * ?") + ); }); // 添加 Quartz 主机服务