Mine only certain times of the day

Can I set up my mining machine to only mine during the night, when the cost of power is lower?

Simpliest way - buy wifi smart socket and set up timer for turn on and turn off
It’s cost around 10-15 USD at AliExpress

Thanks I will look into one of those.

If you don’t mind the computer being on at all times you could use a crontab to schedule the miner to start at specific hour and another crontab to terminate the miner