[mythtv-users] mythfilldatabase problem
James Pifer
jep at obrien-pifer.com
Thu Feb 5 20:14:23 EST 2004
Reza,
Thanks. That was it! Appreciate the help.
James
err, um, is "I don't know" an acceptable answer.?.? :-( Really, I don't
know where I saw to have root in there. Thanks again.
On Thu, 2004-02-05 at 16:42, Reza Naima wrote:
> Just a guess, but try setting your $HOME variable to point to /root (if
> that's where your .mythtv stuff is located) before running
> mythfilldatabase.
>
> export HOME=/root ; /usr/local/bin/mythfilldatabase
>
> -Reza
>
> p.s. I've never seen the syntax for crontab that you have. What's that
> root doing in there?
>
>
> James Pifer wrote:
>
> > I have a mythfilldatabase issue. I can login as root and run
> > mythfilldatabase without a problem.
> >
> > If I try to run it from crontab with:
> > 01 1 * * * root /usr/local/bin/mythfilldatabase
> > OR
> > run mythfilldatabasecron in cron.daily I get the following errors:
> >
> > ----------------- Start of XMLTV output -----------------
> > using config file //.mythtv/BrightHouseFL.xmltv
> > /usr/bin/tv_grab_na: Config file //.mythtv/BrightHouseFL.xmltv does not
> > exist, run
> > me with --configure
> > ------------------ End of XMLTV output ------------------
> > Error in 1:1: unexpected end of file
> > Data is already present for Thu Feb 5 2004, skipping
> > Data is already present for Fri Feb 6 2004, skipping
> > Data is already present for Sat Feb 7 2004, skipping
> > Data is already present for Sun Feb 8 2004, skipping
> > Data is already present for Mon Feb 9 2004, skipping
> > Data is already present for Tue Feb 10 2004, skipping
> > Data is already present for Wed Feb 11 2004, skipping
> > Fetching data for Thu Feb 12 2004
> > ----------------- Start of XMLTV output -----------------
> > using config file //.mythtv/BrightHouseFL.xmltv
> > /usr/bin/tv_grab_na: Config file //.mythtv/BrightHouseFL.xmltv does not
> > exist, run
> > me with --configure
> > ------------------ End of XMLTV output ------------------
> > Error in 1:1: unexpected end of file
> > Fetching data for Fri Feb 13 2004
> > ----------------- Start of XMLTV output -----------------
> > using config file //.mythtv/BrightHouseFL.xmltv
> > /usr/bin/tv_grab_na: Config file //.mythtv/BrightHouseFL.xmltv does not
> > exist, run
> > me with --configure
> > ------------------ End of XMLTV output ------------------
> > Error in 1:1: unexpected end of file
> > Failed to fetch some program info
> >
> > How come I can run it manually as root but not from crontab?
> >
> > Thanks,
> > James
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> ______________________________________________________________________
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list