Make hay while the sun shines
Take opportunities when presented, a very old proverb that alludes to the difficulty of haymaking in wet weather, first listed in John Heywood Proverbs (1546).