public new void Stop()
 {
     m_logger.Trace("Stopping Scheduler Service");
     OwinService.Instance.Stop();
     m_scheduleEngine.Stop();
     JobEngine.Instance.Stop();
     base.Stop();
 }
Example #2
0
 public static bool AppQuit(int ctrl)
 {
     try
     {
         Logger.Warn("Program exit");
         engine?.Stop();
     }
     finally {}
     return(false);
 }
Example #3
0
        public static bool StopServices()
        {
            NetworkService.StopService();

            MessageQueueService.StopService();

            ScheduleEngine.Stop();
            logger.Info("Schedule engine stopped.");

            return(true);
        }