LED string timer

The simplest way would be to use a Real Time Clock to maintain accurate timing and to switch a relay on/off at the appropriate times.