What kind of fan are you using? A half amp 12v fan doesn't move much air so I am assuming these are smaller spaces.
A 10w solar panel in a good position should be able to power a .5 amp 12v fan.
They can all be on the same circuit. A solar panel connected to a charge controller connected to a battery. Then from the charge controller a snap switch connected to the fans. The battery is there to buffer the charge on partly cloudy days or hot days in the spring and fall. It is bad to have power constantly flow into a battery. The charge controller will stop charging a full battery and stop providing power when the battery is low.
Here is a $15 charge controller. I have had one of these running continuously in a project for two years now.
https://www.amazon.com/Instapark-SS1203-Solar-Charge-Controller/dp/B004XCZN5S/ref=pd_bxgy_lg_text_y
Snap switches are set to turn on at a set temp and turn off at another. They do not require power and will work on AC or DC. This one is adjustable, non-adjustable ones are cheaper.
https://www.amazon.com/Emerson-3F05-1-Adjustable-Snap-Control/dp/B000PY7T7I/ref=pd_sim_60_2?ie=UTF8&psc=1&refRID=Y6D8H5WYQQWHFSSZPCEH
If you have water pressure solenoid valves can be powered by the same battery. Without water pressure there are 12v DC pumps that can be powered on the same system. This is one I've used. It will pump a gallon a minute with 3 meters of head at 4.2 watts. (Still assuming this is a small space.)
https://www.amazon.com/DC30A-1230-Brushless-Permanent-Centrifugal-Submersible/dp/B00M0FCK8I/ref=sr_1_3?s=car&ie=UTF8&qid=1471913607&sr=8-3&keywords=12v+dc+pump+dc30a-1230
I haven't looked into over the counter timers or controllers for pumps. If all you want to do is fill a tank that gravity feeds the plants that would be easy enough with a float switch. If the pump only runs occasionally a 15w panel should cover the fan and pump but a larger charge controller might be needed.
Happy tinkering!