I have this in roots crontab:
1 6-18 * * 1-5 /usr/bin/perl /downloads/postfix-2.1.6/auxiliary/qshape/qshape.pl | mail -s "Mail Report" email@example.com
When I run it from the command line, the mail goes to firstname.lastname@example.org
fine with the correct output.
However, When cron runs it, a blank message gets sent rather than the output from qshape.pl.