dryer won't heat

My kenmore dryer will not heat up. I have checked to see that ignitor is glowing but no flame. If I unplug dryer for about 30 min. the dryer will heat up for about 1-2 min then flame goes out. please help