On Tue, Apr 24, 2001 at 05:59:20PM -0500, Stephen E. Hargrove wrote: > 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.
<guess>environment settings</guess> and, possibly the permissions to the script itself might warn perl off -- maybe it's more restricted-aware in crontab environment? if you specify the nature of the perl script, we might have more of a chance to guess what's going on. -- DEBIAN NEWBIE TIP: Which COMMANDS pertain to <xyz>? Try "apropos <xyz>", "info <xyz>", and "man -k <xyz>". ...from [EMAIL PROTECTED] http://newbieDoc.sourceForge.net/