To employ inmates of the county jail upon public road work or other county work in the county under such regulations as the board of county commissioners and the sheriff may prescribe.