Hello, from my point of view, such programming is not possible with this timer. You can only set the countdown, which switches the power on or off after the entered time. But not the duration of the switching and not as a repetition. For the desired functionality, a countdown timer with at least two freely programmable times (20 min. and 2 min.) and repeat function must be found.