i am not able to receive mail from my schedule job. when i check crontab log i find the below error.
sendmail: command not found
So, Linux run crontab jobs with minimal environment variable settings. sendmail command located under /usr/sbin
so if you include PATH=/usr/sbin:$PATH is included in your script, issue will be fixed.
thank for the post it helped me lot.
ReplyDelete