Night after night they struggled to score runs and hit in the clutch. The blame for seven losses in nine tilts and rapidly fading October hopes was correctly on the Yankees hitters — and they knew it.

So, when the hitters prepared for Thursday’s game against the Astros at Yankee Stadium, they decided it was time to meet.

According to Chase Headley and Brett Gardner, a rather frank talk among the group that has placed the Yankees’ postseason chances in grave danger, let each other know how they felt.

“We met and talked, cleared the air, it was good,’’ Gardner said after Brandon McCarthy’s right arm did more than the bats in a 3-0, complete-game shutout that was witnessed by a matinee gathering of 41,767 and completed in a brisk 2 hours, 7 minutes.

The meeting took place in a room away from the clubhouse’s main area, included most of the position players, hitting coach Kevin Long and bench coach Tony Pena.

“There might have been a few coaches,’’ Gardner said when asked if it was a players’ only meeting.

The victory moved the Yankees to within nine games of the AL East-leading Orioles and put them four back of the Tigers for the second wild-card ticket.

While it didn’t produce double-digit runs, Headley believed the session served a purpose.