Plug to automatically or manually cycle power

What I used to do is use TP Link Kasa plug. They have local schedules stored in the plug. I would create a schedule to turn the power off few minutes in the future and turn power back on after a minute. That will reboot the router.

However I found a much better solution. I bought KeepConnect Router Rebooter.

It is an amazing gadget. It will monitor the internet connection and if for whatever reason the internet is lost it will reboot the router or modem or both depending what you plug into it. Also allows you to remotely reboot by pressing a button in the app as well schedule daily, weekly or monthly resets. The cloud subscription is required for remote reset option. It is only $20 a year and well worth it.

It recently helped me discover that the modem was dying as it was requesting multiple public requests per day, so I had it replaced by my ISP.

Never looked back and I am going to buy another one for my home setup, just to have a piece of mind. The cloud subscription is good for unlimited devices.