/// <summary>
        /// The main entry point for the application.
        /// </summary>
        private static void Main()
        {
#if (!DEBUG)
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[]
            {
                new ProcesoLog()
            };
            ServiceBase.Run(ServicesToRun);
#else
            Ejecuciones ejecuciones = new Ejecuciones();
            ejecuciones.Start_Visitas();
#endif
        }
 public void OnTimer(object sender, ElapsedEventArgs args)
 {
     _eventLog.CrearLog("Monitoreando El Sistema", EventLogEntryType.Information, eventId++);
     ejecuciones.Start_Visitas();
 }