|
|
@ -53,9 +53,6 @@ namespace DS.Module.QuartzModuleInstall
|
|
|
|
.ForJob(jobKey3)
|
|
|
|
.ForJob(jobKey3)
|
|
|
|
.WithIdentity(nameof(FeeCustTemplateJob) + "-trigger")
|
|
|
|
.WithIdentity(nameof(FeeCustTemplateJob) + "-trigger")
|
|
|
|
.WithCronSchedule("1 59 23 * * ?")
|
|
|
|
.WithCronSchedule("1 59 23 * * ?")
|
|
|
|
.WithSimpleSchedule(x => x
|
|
|
|
|
|
|
|
.WithIntervalInSeconds(60)
|
|
|
|
|
|
|
|
.WithRepeatCount(1))
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -73,7 +70,8 @@ namespace DS.Module.QuartzModuleInstall
|
|
|
|
q.AddTrigger(opts => opts
|
|
|
|
q.AddTrigger(opts => opts
|
|
|
|
.ForJob(jobKey1)
|
|
|
|
.ForJob(jobKey1)
|
|
|
|
.WithIdentity(nameof(WSLReportJob) + "-trigger")
|
|
|
|
.WithIdentity(nameof(WSLReportJob) + "-trigger")
|
|
|
|
.WithCronSchedule("0 0 1 * * ?"));
|
|
|
|
.WithCronSchedule("0 0 1 * * ?")
|
|
|
|
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 添加 Quartz 主机服务
|
|
|
|
// 添加 Quartz 主机服务
|
|
|
|