Does the file starts with #!/bin/sh so that it is recognized as a shell script?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. any ideas why?
Are you sure that the file is executable? "chmod a+x filename"
-- Brant Fitzsimmons [EMAIL PROTECTED] ************************************************************************ "Liberty means responsibility. That is why most men dread it."
-George Bernard Shaw, Man and Superman (1903) "Maxims for Revolutionists" ************************************************************************
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com