What size capacitor needed to power solenoid?

Thanks for all for answers, I'll check out the links provided. I will be cycling the solenoid every 5 seconds, but just for a brief instant, < 50ms.

Cris