A 42-year-old man was sentenced on Thursday to sit in a cell for seven months and 15 days after being convicted of breaching public health regulations by hanging around restaurants when he was infected with coronavirus during the fifth wave of the outbreak.