Time-programme switches providing a choice of time-intervals for executing more than one switching action and automatically terminating their operation after the programme is completed