You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
559 B
C#
26 lines
559 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using FluentScheduler;
|
|
|
|
namespace JwKdsV.Core.Job
|
|
{
|
|
public class JobFactory : Registry
|
|
{
|
|
public JobFactory()
|
|
{
|
|
NonReentrantAsDefault();
|
|
|
|
Schedule<ChupinJob>().ToRunNow().AndEvery(27).Seconds();
|
|
|
|
#region subin 2023-08-04 添加语音播报任务
|
|
Schedule<VoPlayJob>().ToRunNow().AndEvery(6).Seconds();
|
|
#endregion
|
|
}
|
|
}
|
|
|
|
}
|