I had this same problem, using -quiet solves it.<br>
<br>
Paul<br><br><div><span class="gmail_quote">On 9/19/05, <b class="gmail_sendername">Nick</b> &lt;<a href="mailto:knowledgejunkie@gmail.com">knowledgejunkie@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 19/09/05, James Pattinson &lt;<a href="mailto:jamesp@hisser.org">jamesp@hisser.org</a>&gt; wrote:<br>&gt; Hi All<br>&gt;<br>&gt; I'm in the UK and mythfilldatabase works fine when I run it manually,<br>&gt; however if it's run from cron I get this error:
<br>&gt;<br>&gt; 2005-09-19 13:31:02.190 New DB connection, total: 1<br>&gt; 2005-09-19 13:31:02.201 New DB connection, total: 2<br>&gt; 2005-09-19 13:31:02.202 mythfilldatabase: Listings Download Started<br>&gt; ----------------- Start of XMLTV output -----------------
<br>&gt; 2005-09-19 13:31:02.249 New DB connection, total: 3<br>&gt; All data is the copyright of the Radio Times website<br>&gt; &lt;<a href="http://www.radiotimes.com">http://www.radiotimes.com</a>&gt; and the use of this data is restricted to
<br>&gt; personal use only.<br>&gt;<br>&gt; term_width must be at least 5 at lib/Class/MethodMaker.pm (autosplit into<br>&gt; blib/lib/auto/Class/MethodMaker/new_hash_init.al) line 339<br>&gt; ------------------ End of XMLTV output ------------------
<br>&gt; Error in 1:1: unexpected end of file<br>&gt;<br>&gt; I can't see any options to mythfilldatabase that would help - can any<br>&gt; suggest a fix for this?<br><br>I run the uk_rt grabber from cron with any problems (grabber version
<br>1.77 I think , MythTV 0.18.1). Here is a snippet of my script:<br><br>#---------------------------------------------<br>{<br>perl /usr/bin/tv_grab_uk_rt --config-file<br>/home/mythtv/.mythtv/analogue.xmltv --output<br>
/home/mythtv/.mythtv/analogue.xml --quiet<br>/usr/bin/mythfilldatabase --file 2 -1 /home/mythtv/.mythtv/analogue.xml<br><br>sleep 5<br>rm -f /home/mythtv/.mythtv/analogue.xml<br><br>} &gt;/dev/null 2&gt;&amp;1<br>#---------------------------------------------
<br><br>I send all output to /dev/null and run the grabber with the quiet<br>option. Maybe this will help you.<br><br>Nick<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>