定时自动报警
This commit is contained in:
@@ -17,7 +17,8 @@ using ZR.Service.mqtt;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
//后台定时任务
|
||||
builder.Services.AddHostedService<ScheduledBackgroundService>();
|
||||
//builder.Services.AddHostedService<ScheduledBackgroundService>();
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddControllers();
|
||||
//配置中心
|
||||
|
||||
Reference in New Issue
Block a user