Time loop campaign?

I have this idea for a campaign set in a time loop, where everything resets back to the beginning every session or every in-game 24 hours, except for the players being at a higher level and having new experience.

It could be cool and exciting if done right, or incredibly boring and frustrating if messed up. It would also just be funny to see the look on the players' faces at the end of the first session, as the clock starts to wind back and they realize the premise.

I would love help with brainstorming/fleshing this out!