|I back up my system with a cron job each night invoking tar from a script
|file. Works fine, but it always emails the entire listing of backup files
|to root. Is there something I can add to the cron script to prevent this?
|
If cron jobs produce output, then the output gets mailed to the job owner.
Make sure that jobs which succeed have their output redirected to /dev/null
echo "this job won't send mail" > /dev/null
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.