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" firstname.lastname@example.org
When I run it from the command line, the mail goes to email@example.com
fine with the correct output.
However, When cron runs it, a blank message gets sent rather than the output from qshape.pl.