Ok, that was AWESOME :D
I made a few mistakes and got hung up a couple of times,
but figured out how to remove the directory and start fresh.
Don't you dare make fun of me for not changing the name,
I'm just learning here and I'LL FIX IT LATER :):p
I also figured out the chmod +x your_script did not work until
I removed the space between the x and the name. see below.
I got the email and it's way cool :D now to add the cron in the GUI.
Code:
[root@freenas] /mnt/plumber/scripts# chmod +x your_script.sh
chmod: your_script.sh: Operation not permitted
[root@freenas] /mnt/plumber/scripts# chmod +X your_script.sh
chmod: your_script.sh: Operation not permitted
[root@freenas] /mnt/plumber/scripts# chmod +xyour_script.sh
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
[root@freenas] /mnt/plumber/scripts# ./your_script.sh
[root@freenas] /mnt/plumber/scripts#
Thanks for all the help everyone.
Mark, I'll look at your version after I get more comfortable with this stuff
and maybe get around to doing a bit of editing.