It shall be the duty of such officer as the Secretary of the Interior may designate in whose district any mineral land may be situated to ascertain from time to time whether any timber is being cut or used upon any such lands, except for the purposes authorized by section
604 of this title, within such land district; and, if so, he shall immediately notify the Secretary of the Interior of that fact; and all necessary expenses incurred in making such proper examinations shall be paid for and allowed such officer in making up his next quarterly account.