The freeholders, first taking an oath before the judge to discharge their duty fairly and impartially, on a day to be by them appointed, of which both parties shall have notice, shall examine the fence, and report to the judge, in writing, the amount to be paid the person erecting it; whereupon, unless the money be paid within ten (10) days thereafter, the judge shall enter up judgment, subject to appeal, and issue execution for the judgment.