My guess it the Arduino is resetting after some hours from an outside signal/source. A place to start is the power supply.