using FluentScheduler;

namespace Siger.ApiQMS.Tasks
{
    public class QmsRegistry : Registry
    {
        public QmsRegistry()
        {
            Schedule<QmsSensorJob>().ToRunNow().AndEvery(1).Days().At(8, 0);

            //Schedule<QmsCreateTraceTablJob>().ToRunNow().AndEvery(10).Minutes(); //Schedule<QmsCreateTraceTablJob>().ToRunNow().AndEvery(1).Days().At(0, 0);

            //Schedule<QmsParameterConfigJob>().ToRunNow().AndEvery(10).Minutes();

            //Schedule<QmsDataMigrationJob>().ToRunNow().AndEvery(1).Hours();
        }
    }
}
