Rotherham secured an impressive win against Macclesfield under caretaker boss Darren Patterson.
The Millers went ahead when Mark Bradley nodded in at the far post.
Ben Pringle slotted in for 2-0, but the Silkmen, playing under returning boss Brian Horton, replied when Matt Smith headed in Matt Hamshaw's corner.
Alex Revell fired in for 3-1, Lewis Chalmers scored from the spot after Mark Bradley tripped Smith, but Cadogen rounded it off at the third attempt.
It was an encouraging win for the home side, who parted company with former boss Andy Scott on Monday.
VIEWS FROM THE DRESSING ROOM
Rotherham United caretaker manager Darren Patterson told BBC Radio Sheffield:
"I thought the players were excellent from start to finish. We bossed the game, played some good stuff at times and created lots of chances.
"A massive amount of praise for the players and staff, it's been a horrendous couple of days for us.
"We're obviously devastated at losing Andy (Scott), but we were very professional today."
Rotherham United 01 Taylor 17 Mullins 24 Raynes 07 Evans (Hoskins - 86' ) 08 Taylor 11 Schofield 15 Bradley 18 Pringle 26 Wood 28 Cadogan 09 Revell (Harrison - 70' ) Substitutes 21 Warrington 02 Tonge 04 Harrison 10 Hoskins 23 Grabban Macclesfield Town 40 O'Donnell 02 Bateson 03 Tremarco (Chalmers - 29' ) 14 Diagne 36 Connolly 11 Daniel 12 Mendy 17 Wedgebury (Mukendi - 59' ) 20 Hamshaw 09 Donnelly 38 Smith Substitutes 35 Futcher 07 Chalmers 25 Thomas 10 Mukendi 23 Tomlinson
Ref: Phil Gibbs