#For the test1.sh crontab
35 11 * * * /home/tolamas/suru/MailingScript/test1.sh
#test1.sh
cat /home/tolamas/suru/reports/test11.res
RCPT_LIST="
st0030761@techmahindra.com"
SUBJECT="test mail dated ${MAIL_DATE} "
FROM="
surekha.tolamatti@techmahindra.com"
(
cat /home/tolamas/suru/reports/test12.res
echo "HI this is crontab.."
) | mailx -s ${MAIL} -r "${FROM}" -s "${SUBJECT}" ${RCPT_LIST}
#end of file test1.sh
but cron is not able to execute the script
if it remove below two lines from the test1.sh the cron can execute the script.
cat /home/tolamas/suru/reports/test11.res
cat /home/tolamas/suru/reports/test12.res