fix 餐补处理

This commit is contained in:
2024-03-22 18:22:12 +08:00
parent db62a5e6bd
commit 8aaf460681
8 changed files with 207 additions and 22 deletions

View File

@@ -64,10 +64,17 @@ public class JobPack : BaseAppPack
{
TimeZone = TimeZoneInfo.Local
});
//删除前三天前的日志
RecurringJob.AddOrUpdate<DelApiLogTaskJob>("DelApiLogTask", s => s.RunAsync(), "0 0 */7 * *", new RecurringJobOptions
{
TimeZone = TimeZoneInfo.Local
});
//处理餐补
RecurringJob.AddOrUpdate<MealSupplementHandlerJob>("MealSupplementHandler", s => s.RunAsync(), "0/60 * * * * ?", new RecurringJobOptions
{
TimeZone = TimeZoneInfo.Local
});
}
}