In case of partition of lands, the commissioners must give notice, by publication in some newspaper published in the county, if there is one, or if not, in the one nearest thereto, to be made not less than three successive weeks, that they will, on a day designated, attend at the courthouse of the county to make partition.