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