Green’s Dictionary of Slang

scroby n.

also scrobe, scrobey
[? dial. scrobble, a quarrel, a problem, a scratching]
(UK Und.)

a punishment of flogging, whether private or judicial.

[UK]G. Parker View of Society II 75: The Scrobey is being whipped in the Sessons-House yard before the Justices.
[US]Matsell Vocabulum 77: scrobe A private chastisement.
[UK]J. Greenwood Seven Curses of London 89: Whipping while in prison – scroby or claws for breakfast.
[UK]R.T. Hopkins Life and Death at the Old Bailey 64: The following crook’s words and phrases date from the days of the old Old Bailey: [...] a whipping in prison before the justices – scroby.

In phrases

get scroby (v.)

to be whipped, as a judicial punishment.

[UK]Hotten Dict. of Modern Sl. etc. 88: scroby ‘to get SCROBY,’ to be whipped in prison before the justices.
[Aus]Melbourne Punch 3 Oct. ‘City Police Court’ 234/1: The Mayor.– Well, upon my sivvy, you’re a pretty pair of thimble twisters, you are; and it would serve you both right if you got scroby.
[UK]Hotten Sl. Dict [as cit. 1859].