From 50eeb1303e4ff6c4a86bf9ac3b437eb05ab6fc6c Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Fri, 25 Apr 2025 14:06:15 -0500 Subject: [PATCH] revert --- src/Infrastructure/BotSharp.Core.Crontab/CrontabPlugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }