Thirty women who underwent scheduled cesarean delivery were assigned randomly to receive 500 mg of intravenous azithromycin that was initiated 15 , 30 , or 60 minutes before incision and infused over 1 hour .