As Wikipedia reports - A sacristan is an officer charged with care of the sacristy, the church, and their contents. In ancient times, many duties of the sacristan were performed by the doorkeepers (ostiarii), and later by the treasurers and mansionarii.
Nowadays the sacristan is elected or appointed. The Cæremoniale Episcoporum prescribed that in cathedral and collegiate churches the sacristan should be a priest, and describes his duties in regard to the sacristy, the Blessed Eucharist, the baptismal font, the holy oils, the sacred relics, the decoration of the church for the different seasons and feasts, the preparation of what is necessary for the various ceremonies, the pregustation in pontifical Mass, the ringing of the church bells, the preservation of order in the church, and the distribution of Masses; and finally it suggests that one or two canons be appointed each year to supervise the work of the sacristan and his assistants. This duty in our church is done by one of faithful church members.