probably cron doesn't know the path to top

try 

/usr/bin/top -b -n 1 | mail <email address>



On Thu, 2005-03-31 at 22:31 -0500, Matthew Cline wrote:
> I tried to run the following command as a daily cron job:
> 
> # top -b -n 1 | mail <email address>
> 
> However, all I get is a blank email. When I run this command manually,
> I get what I expected. Is there any reason why top would not work from
> cron?
> 
> 
> Thanks in advance,
> 
> Matt
> --
> [email protected] mailing list
> 
-- 
Nick Rout <[EMAIL PROTECTED]>

--
[email protected] mailing list

Reply via email to