The two groups who were not serving on the Sabbath had to keep the watch over the house of Yahweh for the king.