to make good use of opportunities, good conditions, etc. while they last
Oxford100% of films
to make good use of opportunities, good conditions, etc. while they last
In other words, make hay while the sun shines.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition