Amazon - get a smart plug. My favorite are by Kasa. You use a smartphone app to set schedules and timers for anything you plug into them. I use them for my mechanical filters. I don't want them on all the time because it's too much current but when I do water maintenance it kicks up stuff I want filtered out. So I have it set for off, then after I do the water changes I set a timer on the switches to turn on, but then turn back off in 2 hours (you could totally do the opposite). I also use them to set the time my aquarium lights are on. Super easy and versatile.