Emergency generators at hospitals, police departments, fire stations, etc. have the heaters in their diesel powered generators plugged in continuously. You never know when the emergency power source may be needed or what the temperature will be.
On a related item, previous discussions on this board have discussed unplugging the block heater before starting the engine to prevent thermal shock to the heater. Emergency generators are started once a week to ensure the battery, starter, and the rest of the emergency system are functional. This is done without disconnecting the heater. In a real emergency (loss of primary power) the generator's heater, along with the rest of the facility would be "turned off" until the generator started and and powered all the emergency circuits. (FYI By code, this must be within 10 seconds for systems like emergency lighting. ) For the weekly exercise, the primary power, from the local utility, is not lost so the heater is on when the generator starts. They last years used this way.
I park my truck in an attached garage that usually stays above 40°. I use the block heater all winter, but since I have to pay for my electricity, unlike you, Radshooter

, I have the heater on a timer like motorhead to turn on about the time I wake up. The heater isn't needed for starting; I'm just trying to get the engine warmed up sooner so I can use the cab heater and window defroster.