I'm told what to do-What am I Riddle

Riddle
Every night I'm told what to do, and each morning I do what I'm told. But I still don't escape your scold. What am I?

    Answer: Alarm clock.