# Usage: wekker 21:04 /path/to/audiofile.mp3. # Add this to your ~/.profile or wherever you store your aliases. # You could run it from crontab. alias wekker='_wekker(){ printf "you will be woken up at %s with audio file %s\n" "$1" "$2"; while [ 1 ]; do; date "+%H:%M" | grep -q "$1"; [[ $? -eq 0 ]] && open -a VLC "$2" && break || sleep 1; done; }; _wekker'