Time Your Plantings to Avoid Pests