Exemple #1
0
 private void DoCrawlCycle()
 {
     try
     {
         if (serviceIsStopping)
         {
             return;
         }
         crawler.CrawlOnce();
         log.WriteEntry("Done crawling");
     }
     catch (Exception ex)
     {
         log.WriteEntry("Error in crawling: " + ex.ToString());
     }
 }