I'm using this for "parental control": It stops playing a children's movie after 30 minutes, unfortunately OS X/linux only: sleep 1500; ps x | grep VLC | grep -v grep | cut -d ' ' -f 2 | xargs kill -9 What is does: It first sleeps for 1500 seconds, then it searches for the process VLC (tha...