OTA-update and timer

Hi, I have to unregularly power-off/power-on my sensor due to sds011-errors and I was thinking to use a cheap timer that daily does the power-off /power-on thing.
Is there a safe time of the day that I can schedule this timer so that OTA-updates wont’t get disturbed?
Regards,Louis