private static void PostRssDataThreadMethod(object objProfileType) { while (true) { string strProfileType = (string)objProfileType; RssDataScheduler objRssDataScheduler = new RssDataScheduler(); Console.WriteLine(objRssDataScheduler.PostRssFeed(strProfileType)); Thread.Sleep(1000 * 1 * 60); } }
private static void PostRssDataThreadMethod(object objProfileType) { while (true) { string strProfileType = (string)objProfileType; RssDataScheduler objRssDataScheduler = new RssDataScheduler(); Console.WriteLine(objRssDataScheduler.PostRssFeed(strProfileType)); Thread.Sleep(1000*1*60); } }