[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OT: command line vs. cron



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i've run into a problem i've never seen before.  when i execute

/usr/bin/tvguide.pl > /www/htdocs/tvguide.inc

from the commandline, it works perfectly.  however, when i put

0,30 * * * * /usr/bin/tvguide.pl > /www/htdocs/tvguide.inc

into root's crontab, tvguide.inc is created with nothing in it.

ls -al /www/htdocs/tvguide.inc

- -rw-rw-rw-   1 root   root     0 Apr 23 21:11  tvguide.inc

so, it can't be a permission problem.

anybody have any ideas as to why it works from the command line but not
from cron?  i'm sure it's something simple that i'm overlooking.
- -- 
steve
*****
linux : http://exitwound.org
mozart: http://mozart.sourceforge.net
buck  : http://www.BuckOwensFan.com
*****
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE65gVLpoyYujFtnVMRAv+lAJ4m6cz7MObQVINKfAvkOhjH0pRsTwCfYlLM
wOCRGcLFwAy76LqFwWXtGoY=
=NzeO
-----END PGP SIGNATURE-----



Reply to: