private static void ExecuteScheduleOnNonRuleEnabledUnits() { Scheduling schedule = new Scheduling(_connectionString); List <lfa.pmgmt.data.DTO.Schedule.Schedule> scheduleList = schedule.ListSchedules(); schedule.ExecuteSchedule(scheduleList, _ruleEnabledUnits, int.Parse(ConfigurationManager.AppSettings["DefaultPort"].ToString())); }