feat: 支持商品自动流拍

This commit is contained in:
橙子
2024-11-14 20:30:48 +08:00
parent 02d45bb6a7
commit 05ca1aa224
2 changed files with 7 additions and 1 deletions

View File

@@ -20,6 +20,11 @@ public class AutoPassInGoodsJob: QuartzBackgroundWorkerBase
//每小时,第10分钟执行一次
Trigger = TriggerBuilder.Create().WithIdentity(nameof(AutoPassInGoodsJob))
// .WithSimpleSchedule((builer) =>
// {
// builer.WithIntervalInHours(10);
// })
// .StartNow()
.WithCronSchedule("0 10 * * * ?")
.Build();
}