AK.F1.Timing.Service.Program.Start C# (CSharp) Method

Start() public method

Reads the schedule as specified by the configuration and starts the scheduler.
public Start ( ) : void
return void
        public void Start()
        {
            Log.Info("starting");
            try
            {
                var scheduler = CreateScheduler();
                Log.Info("started, press ctrl+c to exit");
                CmdLineCancelKey.WaitFor().Dispose();
                scheduler.Shutdown();
                SessionServerJob.Stop();
            }
            catch (Exception exc)
            {
                Log.Error(exc);
            }
            finally
            {
                Log.Info("stopped");
            }
        }