Is it safe to run Arduino indefinitely? Does it ever need to be switched off?
If you use the millis() or micros() functions you will need to consider that they rollover and start again at 0 periodically. The millis() function is good for about 50 days before a rollover, the micros() function about 70 minutes.
our Sun will be exploding in the future