On Saturday 26 Mar 2005 22:33, Stephen Kühn wrote:
> On Sat, 2005-03-26 at 23:35, 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.
>
> You want to have absolute paths in that script:
>
> /usr/bin/rkhunter -c | /usr/bin/mail [EMAIL PROTECTED] -s "Rkhunter
> Check" 2>&1
>
> --
> stephen kuhn
Thanks Stephen. It turned out I didn't have the mail package installed!!!!
Regards,
Simon.

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to