Update_PlayerJob.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading;
  7. using System.Threading.Tasks;
  8. using FCS.Common;
  9. using FCS.Crawler.Basketball;
  10. using FCS.Crawler.ZCLotteryAgainst;
  11. using FCS.Crawler.ZCLotteryGames;
  12. using FCS.Crawler.ZCLotteryGrouping;
  13. using FCS.Crawler.ZCLotteryIP;
  14. using FCS.Crawler.ZCLotteryMatchs;
  15. using FCS.Crawler.ZCLotteryScore;
  16. using FCS.Crawler.ZCLotteryTeam;
  17. using FCS.Crawler.ZCMatchRankingList;
  18. using FCS.Interface;
  19. using Quartz;
  20. namespace FCS.Crawler
  21. {
  22. public class Update_PlayerJob : CommonJob
  23. {
  24. public Update_PlayerJob()
  25. {
  26. logName = "Update_PlayerJob";
  27. }
  28. public void Click()
  29. {
  30. ThreadPool.SetMaxThreads(200, 200);
  31. CommonHelper.LogBD("开始Update_PlayerJob", logName);
  32. //new IPJob().GetIP();
  33. //new FootBallTeamsJob().GetAll();
  34. //new FootballPlayerJob().GetAll();
  35. // new GoalSingleDbListJob().Click();
  36. // new MakeBallListJob().Click();
  37. new RankingListJob().Click();
  38. //new ShooterListJob().Click();
  39. //new UpperLlowerSingleDoubleJob().Click();
  40. //new B_MakeBallRankingJob().Click();
  41. //new B_SizeBallRankingJob().Click();
  42. //new B_TeamStatisticsJob().Click();
  43. //new B_LeagueRankingJob().Click();
  44. while (true)
  45. {
  46. if (CommonHelper.ThreadsFinsh())
  47. break;
  48. }
  49. CommonHelper.LogBD("Update_PlayerJob完成", logName);
  50. }
  51. }
  52. }