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 主机服务