Is it safe to connect a timer to an instant hot water dispenser?
You need to determine the maximum current (amperage) your water dispenser will draw, then verify that both the extension cord and the timer can each handle that current as as sustained load.