The county collector where that officer is authorized to collect the warrants by general law shall pay over to the county treasury all moneys collected by him by virtue of such warrants or upon any sale for taxes or otherwise at such time or times and in such manner as is fixed by law.
55 ILCS 5/5-32031