On Tue, Jan 13, 2009 at 2:57 PM, Arun Khan <kn...@yahoo.com> wrote: > Are you executing the job as a regular user or system cron? > Accordingly, you must add MAILTO=<emailid> either in /etc/crontab or > the user's crontab.
Hi, MAILTO=<emailid> guided me to find what was the problem with sendmail when cronned. The Problem was " sendmail: command not found ". So, sendmail when cronned requires its *complete path*. Eg. /usr/sbin/sendmail as in my case. Thankyou for your valuable suggestions. Now, sendmail is sending mails when it is cronned. -- Yours, S.Selvam _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc