make hay while the sun shines
Take advantage of favorable circumstances, as in Car sales have finally improved so we're making hay while the sun shines. This expression alludes to optimum dry weather for cutting grass. [Early 1500s]