Example #1
0
        public void Execute(IJobExecutionContext context)
        {
            var mgr = new TimePeriodManager();

            System.Console.WriteLine("Set New TimePeriod");
            mgr.AddTimeperiod();
        }
Example #2
0
        static void Main(string[] args)
        {
            slrclubCrawler ilbe = new slrclubCrawler();
            var            mgr  = new TimePeriodManager();

            mgr.AddTimeperiod();

            ilbe.GetList(20, 4);
            ilbe.ParseArticles();

            Console.WriteLine(DateTime.Now + "Crawler finish the work");
        }