hay while the sun shines

take advantage of favourable circumstances