Need help with loop time/interrupt programming

Under normal circumstances rollover occurs after 50 days.
My hardware would be used for no more than 1 hour at the max.

Sorry Rob. Your second example doesn't work either.