|
|
@ -261,7 +261,7 @@ public class LogJobWorker : ISpareTimeWorker, IDynamicApiController, ITransient
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
[SpareTime(120000, "TemporaryDocuments", Description = "后台批量删除临时文件,配置项参数:{\"quantity\": 2},不填默认为2",
|
|
|
|
[SpareTime(120000, "TemporaryDocuments", Description = "后台批量删除临时文件,配置项参数:{\"quantity\": 2},不填默认为2",
|
|
|
|
DoOnce = false, StartNow = true, ExecuteType = SpareTimeExecuteTypes.Serial)]
|
|
|
|
DoOnce = false, StartNow = true, ExecuteType = SpareTimeExecuteTypes.Serial)]
|
|
|
|
public void TemporaryDocuments()
|
|
|
|
public void TemporaryDocuments(SpareTimer timer, long count)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var opt = App.GetOptions<TempFileOptions>();
|
|
|
|
var opt = App.GetOptions<TempFileOptions>();
|
|
|
|
var dirAbs = opt.Path;
|
|
|
|
var dirAbs = opt.Path;
|
|
|
|