> > echo "password" | sudo -u "username" -S script-to-send-mail.sh > > please guide me on this problem
Is "script-to-send-mail.sh" accessible without path from cron Did you happen to check the cron log to see what went wrong ? Rgds, Siva. PS: why do you want to change to appropriate user in the cron. Can't you set this cron for the respective user itself ? _______________________________________________ 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