Your Nightly Reboot project works great.
I had to modify mine in step 3. It depends on whether your phone says Reboot or Restart. Mine was Restart, and then it would restart my phone.
Additionally, I did an "IF" statement with %UPS > 120 to begin the task. %UPS is the uptime of the phone. That way when the phone reboots (depending on the speed of the boot), it would not loop. I found even if I set the From and To time to the same time, my Note 5 would restart twice. The %UPS > 120 allowed the phone to be up for at least 120 before it would restart.