Uat_Study
parent
ea48a57f95
commit
b23befe18c
|
@ -43,21 +43,7 @@ namespace IRaCIS.Core.API
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
#region hangfire
|
|
||||||
|
|
||||||
HangfireJobHelper.ImmediatelyOnceOnlyJob<IIRaCISHangfireJob>( t => t.InitHangfireJobTaskAsync() );
|
|
||||||
|
|
||||||
|
|
||||||
//// 延迟任务执行 1秒之后执行 有时启动没运行 换成添加到队列中
|
|
||||||
//BackgroundJob.Schedule<ICacheTrialStatusJob>(t => t.MemoryCacheTrialStatus(), TimeSpan.FromSeconds(1));
|
|
||||||
////添加到后台任务队列,
|
|
||||||
//BackgroundJob.Enqueue<ICacheTrialStatusJob>(t => t.MemoryCacheTrialStatus());
|
|
||||||
|
|
||||||
//周期性任务,1天执行一次
|
|
||||||
|
|
||||||
//RecurringJob.AddOrUpdate<IIRaCISCacheHangfireJob>(t => t.ProjectStartCache(), Cron.Daily);
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,3 +1,2 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue