修改 启用正式环境的任务清理

This commit is contained in:
小肥羊 2025-08-12 10:37:42 +08:00
parent c88001c40c
commit d3764e1d33
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ namespace Learn.VideoAnalysis.Expand
provider.ApplicationServices.UseScheduler(scheduler =>
{
//任务缓存清理
// scheduler.Schedule<TaskFileClearJob>().HourlyAt(10);
//scheduler.Schedule<TaskFileClearJob>().HourlyAt(10);
scheduler.Schedule<TaskFileClearJob>().DailyAt(1,0);
});
}
}