Skip to content

Commit

Permalink
模板无任务调度代码控制
Browse files Browse the repository at this point in the history
  • Loading branch information
zhontai committed Dec 29, 2023
1 parent f3310f3 commit 8008612
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@
//是否开启任务调度管理界面
"TaskSchedulerUI": {
//启用
"enable": true,
////#if (NoTaskScheduler)
//"enable": false,
////#else
//"enable": true,
////#endif
//访问路径
"path": "/task"
}
Expand Down
2 changes: 1 addition & 1 deletion templates/admin/content/src/hosts/MyApp.Host/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#endif
using AdminDbkeys = ZhonTai.Admin.Core.Consts.DbKeys;
using AdminSubscribeNames = ZhonTai.Admin.Core.Consts.SubscribeNames;
using ZhonTai.Admin.Core.Db;
#if (!NoTaskScheduler)
using ZhonTai.Admin.Core.Db;
using ZhonTai.Admin.Domain;
using System;
using Cronos;
Expand Down

0 comments on commit 8008612

Please sign in to comment.