It's important to keep an eye on grilled vegetables, especially if they are sitting out in the sun. If the temperature is too hot, bacteria can grow quickly and could cause food poisoning. In general, grilled vegetables should be eaten within two hours of being cooked. If it's been longer than two hours then, it's best to throw them out.