Use the "Say" command for long running tasks

Pro Tip: don’t babysit that time consuming command line task. Just tack on “; say ‘finished doing X'” and let your computer tell you.
Robby Russell

This is really brilliant. I for one tend to start a command, go back to my IDE, and totally forget about it.

Source