using FluentScheduler;
using Sevomin.Models.Helpers.ScheduledTasks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sevomin.Models.Helpers
{
    public class SevominRegistry : Registry
    {
        public SevominRegistry()
        {
            Schedule<NewApplication>().ToRunEvery(2).Days().At(20, 30);
            Schedule<ExpiringJob>().ToRunEvery(1).Days().At(20, 40);
            Schedule<NewJob>().ToRunEvery(1).Days().At(20, 50);
        }
    }
}
