Exemplo n.º 1
0
 public ScheduleController()
 {
     Schedule(() =>
     {
         Task.Run(() =>
         {
             var link             = ConfigurationManager.AppSettings["urlBestPrices"];
             var scrapeController = new ScrapeController();
             scrapeController.GetFilteredProducts(link, false, true);
         });
     }).ToRunNow().AndEvery(5).Minutes();
 }