I plan to use a fridge as a temperature-controlled fermenting chamber, and I'd like to use some spare electronics to DIY a temperature controller that works by turning on and off a relay that sits between the wall outlet and the fridge's plug, so basically pulling the plug and plugging it back in depending on temperature. The fridge won't be moved or tilted between cycles.
My question is, since I am concerned about the well-being of the compressor, how long should I wait between turning it off and turning it back on, assuming this will be done multiple times per day ? I'm seeing all kinds of advice for when you move or tilt the fridge and how bad it is to restart a compressor too quickly, but no actual time for this particular use case.