After a morning of delays and cancellations because of a disabled nonpassenger train in an East River tunnel, the Long Island Rail Road said shortly before noon Monday that it was operating on or close to schedule.

Earlier, delays averaged 30 minutes into and out of Penn Station because of the disabled train.

Shortly after 11 a.m., the LIRR had said there still were some residual scattered eastbound delays east of Jamaica averaging 30 minutes because of the morning congestion.

The LIRR first told customers in email and on social media at about 7:30 a.m. to anticipate rush-hour delays and cancellations.

advertisement | advertise on newsday

At about 9 a.m., the LIRR said the disabled train had been removed from the tunnel and that crews were making repairs.

Crews continued to make repairs, the LIRR said in alerts at about 10:30 a.m. and again just before 11 a.m.