Best practice for running node with variable on-time

What is the right process for node if I have gaps of few hours every now and then?

Should I restart node after each gap? Should I do resync/catchup?

Or it just works after I bring it online?