Andy Green will be managing baseball games the final weekend of July, but it might be the one time during a baseball season he’d rather be doing something else.

That is the weekend of Trevor Hoffman’s induction ceremony in Cooperstown, N.Y.

“I’d like to take that weekend,” Green said. “Everybody in the Padres organization would like to take that weekend.”

Padres General Manager A.J. Preller will be among those that does – even though it could be one of his busiest times of the year, in that the MLB trade deadline is two days after the ceremony.

The Padres have secured housing around Cooperstown, N.Y., and the team’s personnel department will set up a war room and conduct its business there in the days leading up to and immediately after Hoffman’s July 29 enshrinement. The trade deadline is July 31.

“Obviously, what he did for the organization, but more than that, getting to work with him the last few years, he’s a great person,” Preller said. “For our organization to show him that support — I know he’s going to have a lot of people there — but for us to show support was important to us.”

The plans were made virtually as soon as Hoffman was voted into the Hall in January. It was also decided then that, without a doubt, the Padres would need a substitute third base coach for their series against Arizona that weekend.

Glenn Hoffman, Trevor’s brother, will be in Cooperstown. He plans to return to San Diego with the team July 25 from New York after its series with the Mets and then fly back across the country to upstate New York accompanied by his 86-year-old mother and other family members. He will miss the series against the Diamondbacks that weekend but come home in time for that Monday’s start of a two-game set against the Giants.

Green is already preparing.

He said infield coach Josh Johnson will likely fill in for Hoffman. Johnson coached third the past two seasons as manager of the Gulf Coast Nationals, Washington’s rookie-level affiliate.

“What I was thinking about last night is I need to talk Hoff into taking a day or two off this week and let J.J. get out there,” Green said.

The manager is a tad envious of Johnson, too. Green has fond memories of his time as third base coach, the job he had with the Diamondbacks in 2015 before the Padres hired him.

“I just love it,” he said. “It is as much fun as anything you can do on the coaching side. Everybody covets bench coach roles. If I’m not managing and someone says hey, ‘I have a bench coach job and a third base job.’ It’s a no-brainer. Have your bench job. I want to be out there.

“You’re in the game. You feel like you’re playing. It’s the only real-time decision you will make when you’re done playing. You have to make them. I’d love to do that every single day until I’m 55 or 60. I would love that. That’s my top job in baseball if I’m not doing what I’m doing.”