修改 启用正式环境的任务清理
This commit is contained in:
parent
c88001c40c
commit
d3764e1d33
|
|
@ -26,7 +26,8 @@ namespace Learn.VideoAnalysis.Expand
|
||||||
provider.ApplicationServices.UseScheduler(scheduler =>
|
provider.ApplicationServices.UseScheduler(scheduler =>
|
||||||
{
|
{
|
||||||
//任务缓存清理
|
//任务缓存清理
|
||||||
// scheduler.Schedule<TaskFileClearJob>().HourlyAt(10);
|
//scheduler.Schedule<TaskFileClearJob>().HourlyAt(10);
|
||||||
|
scheduler.Schedule<TaskFileClearJob>().DailyAt(1,0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue