File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/Infrastructure/BotSharp.Core.Crontab Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11using BotSharp . Abstraction . Routing ;
22using BotSharp . Abstraction . Users ;
3+ using BotSharp . Core . Crontab . Hooks ;
34
45namespace BotSharp . Core . Crontab . Functions ;
56
67public class ScheduleTaskFn : IFunctionCallback
78{
8- public string Name => " schedule_task";
9+ public string Name => $ " { CrontabUtilityHook . PREFIX } schedule_task";
910 private readonly IServiceProvider _services ;
1011
1112 public ScheduleTaskFn ( IServiceProvider services )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace BotSharp.Core.Crontab.Hooks;
55
66public class CrontabUtilityHook : IAgentUtilityHook
77{
8- private const string PREFIX = "util-crontab-" ;
8+ public const string PREFIX = "util-crontab-" ;
99 private const string SCHEDULE_TASK_FN = $ "{ PREFIX } schedule_task";
1010
1111 public void AddUtilities ( List < AgentUtility > utilities )
You can’t perform that action at this time.
0 commit comments