예제 #1
0
파일: Service1.cs 프로젝트: demon28/DMS
        protected override void OnStart(string[] args)
        {
            Log.Info("WinService OnStart");
            MobitorJob winService = new MobitorJob();

            jobThread = new Thread(winService.Start);
            jobThread.Start();
        }
예제 #2
0
파일: Program.cs 프로젝트: demon28/DMS
 static void Main(string[] args)
 {
     while (true)
     {
         MobitorJob job = new MobitorJob();
         job.Start();
     }
 }