mail output from user crontab
I have a BASH script that runs fine (an rsync script, but complicated because of date issues). I originally used the GUI cron window to add the job, however after looking at /etc/crontab, I realized why I wan't going to get any mail. I thought I read on a forum post that the output is sent to root, but that didn't happen.
So, I made my own cron file as my user, added it, again, it works fine (the script with cron initiating it) --- except my MAILTO:***@xx.com is being ignored, and I see nothing in /var/log/maillog.
MAILTO is a standard in the man for cron (FreeBSD) which says as long as MAILTO is set, "Overrides the default recipient for cron mail. Each crontab(5) without MAILTO explicitly set will send mail to the mailto mailbox. Sending mail will be disabled by default if mailto set to a null string, usually specified in a shell as _ or "".
What am I not getting?
/10 * * * * ~pacs/scripts/*****x.sh
Cron sending mail is standard, so why on user-added cron jobs from the GUI would the output getting mailed not be an option?
William Grzybowski wrote "Because by default the output is redirected to /dev/null" Does this statement mean the output of the script? What redirects it?
Thank you very much,