/// <summary> /// The main entry point for the application. /// </summary> static void Main() { SeppukuSchedulerService ServiceToRun = new SeppukuSchedulerService(); if (Environment.UserInteractive) { while (Console.Read() != 'q') { } } else { ServiceBase.Run(ServiceToRun); } }
/// <summary> /// The main entry point for the application. /// </summary> static void Main() { SeppukuSchedulerService ServiceToRun = new SeppukuSchedulerService(); if (Environment.UserInteractive) { while(Console.Read() != 'q') { } } else { ServiceBase.Run(ServiceToRun); } }