using FluentScheduler;
using Siger.ApiACC.Tasks;
using Siger.ApiDashboard.Tasks.Task;
using System;

namespace Siger.ApiDashboard.Tasks
{
    public class AutoResistry : Registry
    {
        // </summary>
        public AutoResistry()
        {
            //每日8点05启动
            // Schedule<AutoTaskJob>().ToRunEvery(1).Days().At(8,5);
            //Schedule<AutoTaskJob>().ToRunNow().AndEvery(3).Minutes();

            //Schedule<AutoQmsSnHelper>().ToRunEvery(1).Days().At(1,00);

           // Schedule<AutoTpmRepair>().ToRunEvery(1).Days().At(2, 00);

           // Schedule<AuteKpiAction>().ToRunEvery(1).Days().At(3, 00);

            Schedule<AutoMonthReportJob>().ToRunNow().AndEvery(5).Minutes();
        }
    }
}
