ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs
@@ -161,6 +161,15 @@ .ForJob(jobKey) .WithIdentity("ErpJob-trigger") .WithCronSchedule("0 0 10,14,20 * * ?")); var inventoryLockJobKey = new JobKey("InventoryLockJob"); q.AddJob<InventoryLockJob>(opts => opts.WithIdentity(inventoryLockJobKey)); q.AddTrigger(opts => opts .ForJob(inventoryLockJobKey) .WithIdentity("InventoryLockJob-trigger") .WithCronSchedule("0 0/10 * * * ?")); // æ¯10åéæ§è¡ä¸æ¬¡ });