public static void StartJobDataSaver() { RecurringJob.AddOrUpdate("DataSaver", () => Core.SaveEverything(), CronString.MinuteInterval(5)); }
public string GetCronValue(string scheduleName) { return(CronString.FromSchedule(Items.Cast <ScheduleElement>().FirstOrDefault(e => e.Name == scheduleName))); }
public static void StartJobWatcherFiveMin() { RecurringJob.AddOrUpdate("Standard_Tracker", () => Watcher.CheckOnTrackers(TrackInterval.FiveMin), CronString.MinuteInterval(5)); }