text: Hamilton's Ali Crawford passed up a golden opportunity when he fired over when played through by Alex D'Acol.
  That miss proved costly when Danny Swanson's corner was headed into the net by Cummins.
  Cummins tapped in Blair Alston's low ball before Murray Davidson headed in Brian Easton's cross.
  Media playback is not supported on this device
  It was symbolic of the nature of this game that one of its most refined figures mislaid his composure. Crawford tends to be at the heart of Hamilton's best work, but this was a game that left him grimacing in frustration.
  He swept a first-half free kick onto the roof of the net, but it was after the interval that he truly stood out. Sent clear through on goal by D'Acol, the midfielder sliced his shot wide from inside the area.
  Hamilton manager Martin Canning stood with his head in his hands. There had been other occasions for regret, with Darian MacKinnon's shot from 20 yards beaten away early on and Craig Watson failing to hit the target from 16 yards out just before half-time. The worst was yet to come, though.
  St Johnstone were always at their most threatening when the ball was in the air, either through Cummins and Steven MacLean in open play or through Steven Anderson and Joe Shaughnessy at set-pieces.
  Moments after Crawford's miss, St Johnstone worked the ball up field and earned a corner that Swanson swung into the penalty area. Despite plenty of practise during the game, the Hamilton defenders weren't able to cope with this delivery, and Cummins leapt to head the ball past the goalkeeper Gary Woods.
  Cummins was not finished, and five minutes later he was on hand to convert Alston's cross to further reward St Johnstone's dogged display. Sometimes, a win just has to be ground out, and the home side completed their scoring when Davidson's header from Easton's cross bounced off the post and rolled behind the goal-line.
  This was a game that lacked drama and intensity, and even a moment of controversy failed to assert itself. When the Hamilton defender Dan Seaborne slid to stop the ball from going out for a corner, he appeared to handle it twice.
  Yet none of the St Johnstone players in attendance, or any of the match officials, spotted the contact, so no penalty claim was made. Relief for Seaborne, and little consequence in the end since St Johnstone went on to win the game.
  It was that kind of day for the visitors. Once St Johnstone had established their lead, Crawford sent one free-kick straight at home goalkeeper Zander Clark, then another just wide of the upright.
  St Johnstone manager Tommy Wright: "We'll play better and lose, but we got the job done. We upped the tempo in the second half and looked more like ourselves. It was a comfortable win but not a comfortable game.
  "[Finishing in the top four] will be the aim. We're level with Hearts now, so we've got to see if we can finish off the season better than them.
  "We've tried [to make new signings], but we're in a strong position in the league and the main concern is targeting for next season and keeping ones here. There might be something happens, the chairman does like a last-minute one, and if someone comes out who we think is better than what we've got then we'll do some business.  I'm more than comfortable to go with what I've got for the rest of the season."
  Hamilton manager Martin Canning: "I've talked about key moments before and there's none more key than [Ali Crawford's miss at 0-0]. When you're through one-on-one, you've got to put the ball in the back of the net. Had we gone 1-0 up, it would have been a deserved lead, we were the better team up until that point.
  "We are playing well, and we played particularly well at times today, but we've got to win games. It doesn't matter how we win, we need to become a different team, maybe not so pleasing in terms of knocking the ball about.
  "Hopefully we can get one [player] in before Tuesday. It's not easy and we're trying hard to bring players in. We've got a bad run of injuries just now as well, five or six guys out who would be starting or coming on to have an influence. We're stretched, but that doesn't excuse defending like that."
  Match ends, St. Johnstone 3, Hamilton Academical 0.
  Second Half ends, St. Johnstone 3, Hamilton Academical 0.
  Foul by Murray Davidson (St. Johnstone).
  Ali Crawford (Hamilton Academical) wins a free kick in the defensive half.
  Substitution, Hamilton Academical. Ross Cunningham replaces Daniel Redmond.
  Murray Davidson (St. Johnstone) wins a free kick in the attacking half.
  Foul by Alejandro D'Acol (Hamilton Academical).
  Substitution, St. Johnstone. Liam Craig replaces Steven MacLean.
  Attempt missed. Alejandro D'Acol (Hamilton Academical) right footed shot from outside the box is close, but misses the top left corner from a direct free kick.
  Foul by Steven Anderson (St. Johnstone).
  Alejandro D'Acol (Hamilton Academical) wins a free kick in the defensive half.
  Substitution, Hamilton Academical. Eamonn Brophy replaces Rakish Bingham.
  Goal!  St. Johnstone 3, Hamilton Academical 0. Murray Davidson (St. Johnstone) right footed shot from long range on the left to the centre of the goal.
  Substitution, St. Johnstone. David Wotherspoon replaces Danny Swanson.
  Attempt saved. Ali Crawford (Hamilton Academical) right footed shot from outside the box is saved in the top centre of the goal.
  Corner,  Hamilton Academical. Conceded by Steven Anderson.
  Foul by Steven Anderson (St. Johnstone).
  Alejandro D'Acol (Hamilton Academical) wins a free kick in the defensive half.
  Attempt missed. Alejandro D'Acol (Hamilton Academical) right footed shot from the centre of the box is high and wide to the right.
  Foul by Paul Paton (St. Johnstone).
  Darian MacKinnon (Hamilton Academical) wins a free kick in the attacking half.
  Attempt saved. Daniel Redmond (Hamilton Academical) right footed shot from the left side of the box is saved in the centre of the goal.
  Goal!  St. Johnstone 2, Hamilton Academical 0. Graham Cummins (St. Johnstone) right footed shot from outside the box to the high centre of the goal. Assisted by Blair Alston.
  Goal!  St. Johnstone 1, Hamilton Academical 0. Graham Cummins (St. Johnstone) header from the centre of the box to the centre of the goal. Assisted by Danny Swanson.
  Corner,  St. Johnstone. Conceded by Ali Crawford.
  Joe Shaughnessy (St. Johnstone) wins a free kick in the defensive half.
  Foul by Alejandro D'Acol (Hamilton Academical).
  Attempt missed. Ali Crawford (Hamilton Academical) right footed shot from the centre of the box is too high.
  Foul by Blair Alston (St. Johnstone).
  Daniel Redmond (Hamilton Academical) wins a free kick in the defensive half.
  Second Half begins St. Johnstone 0, Hamilton Academical 0.
  First Half ends, St. Johnstone 0, Hamilton Academical 0.
  Attempt saved. Alejandro D'Acol (Hamilton Academical) right footed shot from outside the box is saved in the top centre of the goal.
  Danny Swanson (St. Johnstone) wins a free kick in the defensive half.
  Foul by Craig Watson (Hamilton Academical).
  Attempt missed. Craig Watson (Hamilton Academical) right footed shot from the centre of the box is too high.
  Foul by Paul Paton (St. Johnstone).
  Alejandro D'Acol (Hamilton Academical) wins a free kick on the left wing.
  Attempt missed. Blair Alston (St. Johnstone) right footed shot from outside the box is high and wide to the right.
  Daniel Redmond (Hamilton Academical) is shown the yellow card for a bad foul.
target: Graham Cummings scored twice as St Johnstone moved level on points with fourth-placed Hearts by beating Hamilton Accies.