As soon as such proceedings are instituted, the clerk of the court in which they are pending must certify the facts to the officers, whose duty it would otherwise be to draw such warrant or pay such salary.