Origin of wake up and smell the coffee?

Possibly from the TV Series "Mama's Family". On the Season 2 DVD, in the interviews with Carol Burnett and Vicki Lawrence seem to insuinate it was a joke written by the TV writers on the show for Mama to say.