same as Automatic reboot every few hours
please try Automatic reboot every few hours - #4 by UltraBlack