Females will not oviposit when temperatures drop below 60.8°F (16°C) except when exposed to sunlight for several hours. Development in egg, larval, and pupal stages stops at 50°F (10°C).
Please go through the following article, which will help you get rid of fruit files!
Ways to Get Rid of Fruit Flies