Hi,

We wrote a shell script which will do some posting work and need to
send the details of the work(posting).
It works fine when it is not cronned ,but it does not send mail when cronned.
I googled on this and found that we need some authentication for
sendmail to work when it is cronned. I tried the following cron-script
but it failed:

 echo "password" | sudo -u "username" -S script-to-send-mail.sh

please guide me on this problem


-- 
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

Reply via email to