Aberdeen kept up with Kilmarnock in the hunt for third and a Europa League qualifying slot with a 2-0 win at Dens Park.
Both the Reds’ goals were scored by Sam Cosgrove, now on 20 strikes for the season.
The Dons were looking to follow up their home hoodoo-ending 3-1 win over Motherwell on Wednesday.
Level on points with third-placed Kilmarnock at the start of the afternoon, Aberdeen had to keep pace with their rivals for the Europe. Kille beat St Johnstone.
With Hearts losing against Hibs earlier in the day, they could pull eight points ahead of them with victory, too. The Easter Road side are now fifth, six behind the Reds.
There was also the concern of avoiding any bad juju ahead of next weekend’s Scottish Cup semi-final against Celtic at Hampden.
Jim McIntyre’s side had went down 2-0 to St Johnstone in Perth on Wednesday, staying two points adrift at the bottom. They were desperate to stop the rot, which had seen them not pick up a Premiership point since February 16 – away at Livingston.
Derek McInnes made one change, Greg Stewart coming in for Dean Campbell. Campbell had a foot injury, but Stewart also created the Dons second against Well off the bench, so might have come in anyway.
It was a slow opening in the City of Discovery.
At a corner on 20 minutes, Scott McKenna saw a shot from the penalty spot deflected past and, from Niall McGinn’s next ball in, Dundee full-back Nathan Ralph’s header narrowly missed his own back post.
Craig Curran blasted over Joe Lewis’ goal from 30 yards up the other end on 25 minutes.
Despite being in control of the match, it was breaking down in the final third for Aberdeen repeatedly.
On 33 minutes, Connor McLennan hit the deck outside the Dundee box after wrestling with Ryan McGowan. He signalled with his right arm for attention as his left arm remained stretched out on the turf. He suffered a shoulder dislocation suffered against St Mirren at Pittodrie earlier in the campaign.
However, he was soon back up and moving normally.
Soon after, Ethan Robson cracked Lewis’ left upright with a looping strike from 20 yards, as Dundee began to test the Dons.
On 42 minutes, Aberdeen should have had a penalty. Lewis Ferguson burst past three Dees players, playing in McLennan, the Reds best attacker early on. He broke through a challenge to the right of the box and crossed.
Dees skipper Paul McGowan stopped the ball with an outstretched arm, but referee Andrew Dallas wasn’t interested.
With 45 minutes gone, Robson again struck from range for the home side, with Lewis saving low to his right.
Aberdeen could’ve snuck in with the lead, however, Greg Stewart – who’d struggled – clicking into gear to send a wicked cross from the right deep into the six-yard box, where Dom Ball just couldn’t get a touch.
10 minutes after the break, Sam Cosgrove was hauled down by Ryan McGowan on the edge of the area, however, McGinn ballooned the opportunity over.
There was a pervading sense it might not be the Reds day.
Moments later, only a last ditch tackle from Ferguson stopped Callum Moore smashing at goal from 14 yards.
Lewis then had to tip a long-range effort from O’Sullivan over as Aberdeen rode their luck.
On the break from the resultant corner, however, Max Lowe fed Ferguson who stepped by Moore on his way into the Dees area, with the home player bringing him down.
Dallas had blown for the penalty before the midfielder hit the deck and Cosgrove’s spot-kick into the left bottom corner sent Seny Dieng diving the wrong way.
It was the target man’s first goal in five appearances and 19th of the campaign.
He had his 20th on 77 minutes.
McLennan did brilliantly to skip by several dark blue challenges on the left byeline.
His cut-back to the edge of the six-yard box gave Cosgrove the simplest of left-footed finishes. The striker has now equalled Adam Roonery’s second best tally for a season.
McLennan then almost scored himself from the edge of the box after being teed up by Ball’s Maradona turn and pass, but for an acrobatic, right-handed Dieng stop.
Substitute Kenny Miller blasted over with five minutes left as he tried to salvage something for Dundee.
But it was Aberdeen who looked likely to extend their lead. Dieng saved well from Shinnie’s low curling effort, before Ferguson hit the bar with a free-kick in the last minute of regular time.
Sub Stevie May also had a shot from distance stopped in added time.
Aberdeen: Joe Lewis, Graeme Shinnie, Andrew Considine, Scott McKenna, Greg Stewart, Niall McGinn, Sam Cosgrove, Lewis Ferguson, Dominic Ball, Connor McLennan, Max Lowe.
Subs: 5-Gleeson (for McGinn 66), 3-May (for Stewart 82), 2-Ross (for McLennan 88).
Subs not used: Tomas Cerny, James Wilson, Greg Halford, Stevie May, Mikey Devlin, Ethan Ross.
Dundee: Dieng, Kerr, Ralph, O’Dea, O’Sullivan, R. McGowan, Robson, P. McGown, C. Curran, J. Curran, Moore.
Subs: Kusunga (for O’Dea 36), Nelson (for Moore 68), Miller (for C. Curran 71).
Subs not used: Parish, Dales, Hadenius, Horsfield.
Referee: Andrew Dallas.