Probably should've posted this question to the Electrical & Electronics forum. What size batteries are you hoping to use? A solenoid capable of pushing the button in your picture will require some amps. A better solution would be to wire relay contacts across the button terminals then drive the relay with some sort of timer circuit.