When any person shall be sentenced to be imprisoned in the penitentiary or county jail, the clerk of the court shall, as soon as may be, make out and deliver to the sheriff of the county, or his or her deputy, a transcript from the minutes of the court of such conviction and sentence, duly certified by such clerk, which shall be sufficient authority for such sheriff to execute the sentence, who shall execute it accordingly.