修复bug
This commit is contained in:
@@ -305,10 +305,10 @@ namespace WMS.Web.Repositories.DependencyInjection
|
||||
|
||||
#region 成品即时库存
|
||||
var jobKey_Inventory = new JobKey("InventoryQuartzJob", options.QuartzJobValue);
|
||||
q.AddJob<InventoryQuartzJob>(jobKey, j => j.WithDescription("InventoryQuartzJob"));
|
||||
q.AddJob<InventoryQuartzJob>(jobKey_Inventory, j => j.WithDescription("InventoryQuartzJob"));
|
||||
q.AddTrigger(t => t
|
||||
.WithIdentity("InventoryQuartzJobTrigger")
|
||||
.ForJob(jobKey)
|
||||
.ForJob(jobKey_Inventory)
|
||||
.StartNow()
|
||||
.WithCronSchedule(options.JobStartExpre)
|
||||
//.WithCronSchedule(CronScheduleBuilder.DailyAtHourAndMinute(options.JobStartHour[5], options.JobStartMinute[5]))
|
||||
|
||||
Reference in New Issue
Block a user