[mythtv-users] mythfilldatabase: can't run it from cron

Paul Wheeler paulrwheeler at gmail.com
Mon Sep 19 13:02:18 UTC 2005


I had this same problem, using -quiet solves it.

Paul

On 9/19/05, Nick <knowledgejunkie at gmail.com> wrote:
> 
> On 19/09/05, James Pattinson <jamesp at hisser.org> wrote:
> > Hi All
> >
> > I'm in the UK and mythfilldatabase works fine when I run it manually,
> > however if it's run from cron I get this error:
> >
> > 2005-09-19 13:31:02.190 New DB connection, total: 1
> > 2005-09-19 13:31:02.201 New DB connection, total: 2
> > 2005-09-19 13:31:02.202 mythfilldatabase: Listings Download Started
> > ----------------- Start of XMLTV output -----------------
> > 2005-09-19 13:31:02.249 New DB connection, total: 3
> > All data is the copyright of the Radio Times website
> > <http://www.radiotimes.com> and the use of this data is restricted to
> > personal use only.
> >
> > term_width must be at least 5 at lib/Class/MethodMaker.pm (autosplit 
> into
> > blib/lib/auto/Class/MethodMaker/new_hash_init.al) line 339
> > ------------------ End of XMLTV output ------------------
> > Error in 1:1: unexpected end of file
> >
> > I can't see any options to mythfilldatabase that would help - can any
> > suggest a fix for this?
> 
> I run the uk_rt grabber from cron with any problems (grabber version
> 1.77 I think , MythTV 0.18.1). Here is a snippet of my script:
> 
> #---------------------------------------------
> {
> perl /usr/bin/tv_grab_uk_rt --config-file
> /home/mythtv/.mythtv/analogue.xmltv --output
> /home/mythtv/.mythtv/analogue.xml --quiet
> /usr/bin/mythfilldatabase --file 2 -1 /home/mythtv/.mythtv/analogue.xml
> 
> sleep 5
> rm -f /home/mythtv/.mythtv/analogue.xml
> 
> } >/dev/null 2>&1
> #---------------------------------------------
> 
> I send all output to /dev/null and run the grabber with the quiet
> option. Maybe this will help you.
> 
> Nick
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050919/a5d4a03d/attachment.htm


More information about the mythtv-users mailing list