Switch on and off an electronic device within a time range e.g: 8am to 3pm
Figure 1. Plug-in 24-hour timers are available in all countries and in many formats, analogue and digital.

Set the clock.
Set the on-times.
Plug timer into socket.
Plug pump into timer.