diff --git a/src/Infrastructure/BotSharp.Core.Crontab/CrontabPlugin.cs b/src/Infrastructure/BotSharp.Core.Crontab/CrontabPlugin.cs index edfca3ea..feef2546 100644 --- a/src/Infrastructure/BotSharp.Core.Crontab/CrontabPlugin.cs +++ b/src/Infrastructure/BotSharp.Core.Crontab/CrontabPlugin.cs @@ -36,7 +36,7 @@ public class CrontabPlugin : IBotSharpPlugin services.AddScoped(); services.AddScoped(); - //services.AddHostedService(); - //services.AddHostedService(); + services.AddHostedService(); + services.AddHostedService(); } }