Uat_Study
hang 2023-08-24 11:38:37 +08:00
parent ea48a57f95
commit b23befe18c
3 changed files with 0 additions and 16 deletions

View File

@ -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
} }
} }

View File

@ -1,3 +1,2 @@
{ {
} }

View File

@ -1,3 +1,2 @@
{ {
} }