the shell script is this:
/usr/local/pbx/show_did.sh > $filename
echo | mailx -s email@example.com
-- -r firstname.lastname@example.org
and when i put that into the cron.daily it doesnt seem to work correctly, maybe i need to change the path's?