On Saturday 26 March 2005 13:58, Simon wrote: > I am running the following cron job: > > /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s "Rkhunter Check" 2>&1 > > I get the following message : > Output from command /usr/bin/rkhunter -c | mail [EMAIL PROTECTED] -s > "Rkhunter Check" 2>&1 .. > /bin/sh: line 1: mail: command not found > > Any ideas how to get the mail command to work? > > TIA, > Simon.
Try /usr/bin/rkhunter -c | /bin/mail [EMAIL PROTECTED] -s "Rkhunter Check" 2>&1 If that does not work check the mail package is installed. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
