Hello All,


>> Colin Jenkins wrote:
>>
>>> Hello all,
>>> when I run 'vnstat  >/var/www/html/usage' from a shell, I get a text
>>> file with the correct output. When I run the same
>>> as a cron task, it outputs a blank file.

Thanks for the feedback.....
when I added the path,  /usr/local/bin/vnstat >/var/www/html/usage      it worked .....
why does the cron task need the path (when run as root)when it doesn't
need it from a shell?


-- 
Best regards,
 Colin                            mailto:[EMAIL PROTECTED]
Do not meddle in the affairs of dragons for you are crunchy and taste good with 
ketchup. 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to