Theoretically it was the duty of the pharaoh to carry out temple rituals, as he was Egypt's official representative to the gods.
The less frequent temple rituals, or festivals, were still numerous, with dozens occurring every year.