定时任务

This commit is contained in:
tongfei
2024-04-01 14:43:55 +08:00
parent 74d645eb13
commit ce1a2ad543

View File

@@ -263,7 +263,7 @@ namespace WMS.Web.Repositories.DependencyInjection
#region
var jobKey_send = new JobKey("SendQuartzJob", options.QuartzJobValue);
q.AddJob<SendQuartzJob>(jobKey_box, j => j.WithDescription("SendQuartzJob"));
q.AddJob<SendQuartzJob>(jobKey_send, j => j.WithDescription("SendQuartzJob"));
q.AddTrigger(t => t
.WithIdentity("SendQuartzJobTrigger")
.ForJob(jobKey_send)