定时任务
This commit is contained in:
@@ -263,7 +263,7 @@ namespace WMS.Web.Repositories.DependencyInjection
|
|||||||
|
|
||||||
#region 发送通知信息
|
#region 发送通知信息
|
||||||
var jobKey_send = new JobKey("SendQuartzJob", options.QuartzJobValue);
|
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
|
q.AddTrigger(t => t
|
||||||
.WithIdentity("SendQuartzJobTrigger")
|
.WithIdentity("SendQuartzJobTrigger")
|
||||||
.ForJob(jobKey_send)
|
.ForJob(jobKey_send)
|
||||||
|
|||||||
Reference in New Issue
Block a user