I picked up one of the DS3231 modules on ebay. These are good to
+-2 mins a year.
Use a couple relays.
The DS3231 can be used to put out a 1 second pulse. You can
use it to run an interrupt or just poll the pin.
You could use a single source, a double throw double pole and
a single pole single throw together do what you need. Remember,
the clock doesn't care which lead it ground, just that the polarity switches.
Do note that most of these clocks are pulse for at most 1 second,
some less than that.
Dwight