As a general rule for keeping food warm in a crock pot, I recommend 2 - 4 hours. Once the corn is cooked, remove the lid, add up to a cup of hot water if needed, and turn the slow cooker to the warm or low setting. This warming method will heat the corn without overcooking it.