President Obama signed a bill funding federal infrastructure and transportation projects for another three months on Friday, but chided Congress for sending him another short-term extension and for leaving town with unfinished business.

"We can't keep on funding transportation by the seat of our pants, three months at a time," Obama said from the Oval Office. "It's just not how the greatest country on Earth should be doing its business. I guarantee you this is not how China, Germany … other big, powerful countries around the world, handle their infrastructure.

"We can't have bridges collapsing and potholes not being filled because Congress can't come up with an adequate plan to fund our infrastructure budget for more than three or five or six months at a time," Obama said before signing the legislation into law.

"And I hope that members of Congress are listening, and I hope that Republicans can work things out among themselves as well as work out things with Democrats," Obama said, referring to the discord between House and Senate GOP leaders and between leadership and rank-and-file Republicans. "I think we've got to do some intra-party negotiations as well as negotiations between the parties."

Obama wished lawmakers a restful August recess and asked them to return to Washington ready to tackle a laundry list of issues, including the budget and reauthorizing the Export-Import Bank.

Obama said he wanted to send Congress "a clear message … [that] we should not be leaving all the business of the U.S. government to the last minute. Think about the things that are still undone as Congress is about to go on vacation," he added, before listing them.