An ex-club DJ waited outside a supermarket with sweets and chocolate for a 12-year-old boy – only to be arrested instead.
Sick Glen Battensbury, 62, had agreed to meet the youngster with a pack of Haribos in exchange for sexual favours outside a Morrisons in York.
However, he was arrested at the scene after it was revealed he had been speaking to a police officer posing as a schoolboy on the internet.
Detectives also found details of a meeting he had set up a few days earlier in Harrogate, North Yorks., for sexual activity with someone claiming to be a 15-year-old boy.
Battensby, a former long-serving Leeds club DJ, from Wetherby, North Yorks., pleaded guilty to two charges each of attempting to meet a child for sexual activity, sexual communication with a child and attempting to incite a child to perform a sex act.
All the offences were committed between February 27 and March 13.
He was jailed for three and a half years at York Crown Court on Friday (Aug 28).
Judge Simon Hickey told him: “Your intention and your behaviour shows to me a worrying degree of persistence over these two weeks.”
Battensby was also put on the sex offenders register and made subject to a sexual harm prevention order and barred from working with children, all for life.
His barrister Susannah Proctor said: “He is deeply ashamed of his conduct. He has, in his own words, ruined his life by his offending.”
Following the sentence, detective Sergeant Steve Alderson, of North Yorkshire Police’s online abuse and exploitation team said: “Glen Battensby clearly posed a danger to young and vulnerable people, therefore it is very pleasing that the investigation into his deplorable online activities has resulted in a significant custodial sentence.
“He will also be subject to stringent controls for the rest of his life to ensure he does not reoffend in the future.”