using FluentScheduler;


namespace Siger.ApiKPI.Tasks
{
    /// <summary>
    /// 
    /// </summary>
    public class KpiResistry:Registry
    {
        /// <summary>
        /// 
        /// </summary>
        public KpiResistry()
        {
            Schedule<KpiPushJob>().ToRunNow().AndEvery(1).Minutes();
            Schedule<KpiAutoRelation>().ToRunNow().AndEvery(5).Minutes();
            //每日关联 需在统计任务完成（08：05）之后
           // Schedule<KpiAutoRelation>().ToRunEvery(1).Days().At(8, 20);
        }
    }
}
