PDA

View Full Version : TivoTitle ok from shell, but errors from cron - thoughts?



cdn
10-23-2002, 04:07 PM
I have TivoTitle 0.93 installed on my DTivo T60. If I run it from the command line, it works great. When I try to run it from cron, however, it fails. It isn't an issue of cron not executing the command, however. For testing purposes, I setup cron to run it every minute (I'm impatient, what can I say?). Here's the entry:

* * * * * /tivo-bin/TivoTitle.tcl -c -d >> /var/log/TivoTitle 2>&1

Here's the errors I'm getting in the logs:

set dbopen
WARNING: couldn't scan startup script /tvlib/tcl/tv/tv.ini
WARNING: eval result : can't read "env(TIVO_ROOT)": no such element in arrayset dbopen
unable to initialize filesystem
while executing
"dbopen $dbPoolSize"
(file "/tivo-bin/TivoTitle.tcl" line 384)
WARNING: couldn't scan startup script /tvlib/tcl/tv/tv.ini
WARNING: eval result : can't read "env(TIVO_ROOT)": no such element in arrayset dbopen
unable to initialize filesystem
while executing
"dbopen $dbPoolSize"
(file "/tivo-bin/TivoTitle.tcl" line 384)
WARNING: couldn't scan startup script /tvlib/tcl/tv/tv.ini
WARNING: eval result : can't read "env(TIVO_ROOT)": no such element in arrayset dbopen
unable to initialize filesystem

Has anyone else seen anything like this before?

I've tried setting the environment variable TIVO_ROOT (just set it to "") so it would be defined, to see if that did anything, but no go.

Thanks,
Chris

BubbleLamp
10-23-2002, 04:26 PM
Add these two lines to your crontab file



MFS_DEVICE=/dev/hda10
TIVO_ROOT=""

cdn
10-23-2002, 07:43 PM
That was it. Thanks!!