Every witness summoned in a criminal action pending in a district, superior or county court shall take notice of the postponements and continuances and when once summoned in such action shall, without further notice or summons, be in attendance upon such action, as such witness, until discharged by the court.
R.L.1910, § 6015.