How to run command in the background and notify me via email when done
- by Abs
Hello all,
I have the following command which will take ages to run (couple of hours). I would like to make it a background process and for it to send me an email when its done.
For the cherry on the top, any errors it encountered should write to a text file when an error has occurred?
find . -type f -name "*.rm" -exec ./rm2mp3.sh \{} \; -exec rm \{} \;
How can I do this with my above command?