zx il y a 6 ans
Parent
commit
540cc88481
1 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 8 8
      FCS.Crawler/Program.cs

+ 8 - 8
FCS.Crawler/Program.cs

@@ -29,14 +29,14 @@ namespace FCS.Crawler
         /// </summary>
         private static void Main()
         {
-            
-            //ServiceBase[] ServicesToRun;
-            //ServicesToRun = new ServiceBase[]
-            //{
-            //            new Service1()
-            // };
-            //ServiceBase.Run(ServicesToRun);
-          new B_GamesJob().Click();
+
+            ServiceBase[] ServicesToRun;
+            ServicesToRun = new ServiceBase[]
+            {
+                        new Service1()
+             };
+            ServiceBase.Run(ServicesToRun);
+            //new B_GamesJob().Click();
         }