He or she shall have the custody and care of the courthouse and jail of his or her county, except as is otherwise provided.