Example #1
0
        public static SchedulerConfigurer AddSimple(this SchedulerConfigurer configurer, string id, TimeSpan interval, Action callback)
        {
            configurer.Add(id, new PeriodicCallbackSchedule(interval, callback));

            return(configurer);
        }
Example #2
0
 protected override SchedulerFeature Scheduling(SchedulerConfigurer configure)
 {
     return(configure.NoScheduling());
     //return configure.Quartz();
 }