SAN DIEGO -- Andrew Cashner pitched 7 1/3 innings of four-hit ball and the San Diego Padres beat the Miami Marlins 5-0 on Monday night. Cashner (2-2) struck out four and walked three in the longest outing of his career. Dale Thayer finished the five-hitter in front of a season-low crowd of 14,596 at Petco Park. Miami was shut out for the fifth time this season, tying Atlanta and Philadelphia for most in the majors. The Marlins are last in the league with a .226 team batting average and 98 runs this season.