The larve of most mosquitoes require 4 to 10 days to instar, go through life cycle, and produce a breeding mosquito. As mosquitoes require stagnant water to deposit their eggs this stagnant water can be clean or dirty. The fresher it is the cleaner it is. Through time as the water becomes dirtier through stagnation the mosquito eggs continue to develop and only require a flood of water that is deoxygenated to hatch.
I have a dog which I give water to on a daily basis in his water container. I insure that his water is changed daily therefore not enough time elapses for mosquito larvae to instar if the mosquitoes should decide to lay their eggs there. I have two water tanks, one in the yard and one on the roof, that have covers so that mosquitoes can't enter. I also have a 25 gallon container on my back porch for water and it has a screen top so that mosquitoes can't enter. I insure that my yard is clean of items that have the ability to hold standing water. The egg shells that I put in the compost pile outside my kitchen are always crushed up so that they can't retain water.
These are the things that I do to try to keep the mosquito population in check. The only problem is that mosquitoes have a flight range of about 200 meters which requires the use of an insecticide only because other people don't use the precautions that I do.
If you are talking about farm animals then I don't know what to tell you other then possibly changing their water at least ever 4 days to avoid eggs going through the 4 instars of development.
Rick