Esempio n. 1
0
        /// <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);
            }
        }
Esempio n. 2
0
		/// <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);
			}
		}