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

Dave Sherohman esper at sherohman.org
Mon Sep 19 14:50:50 UTC 2005


On Mon, Sep 19, 2005 at 03:33:46PM +0100, James Pattinson wrote:
> Nice one, that seems to work so far - but 
> http://xmltv.radiotimes.com/xmltv/channels.dat is 404'ing for me now! 
> I'm sure it was working a few days ago when I last grabbed. Anyone 
> confirm it's working for them at the moment?
> 
> Thanks
> james
> 
> Paul Wheeler wrote:
> 
> >I had this same problem, using -quiet solves it.

Not working for me...  My cron entry for it is

su mythtv -c "mythfilldatabase --quiet"

and I'm still getting considerable output from it.  I tried changing
the --quiet to -quiet and got an error that -quiet was not
recognized, check --help for valid options, so I did that and the
resulting help display shows no verbosity options.

So now I'm thinking to go the brute force route and append a
">/dev/null" to the entry so that it will stop mailing me the output
every morning, but I'm a little concerned about that option...  If I
do this, will it also send information about any errors to the bit
bucket?  Or is mythfilldatabase well-enough behaved to write those to
stderr?


Output of `su mythtv -c "mythfilldatabase --quiet"`, in case it
helps:

2005-09-19 09:43:12.509 New DB connection, total: 1
2005-09-19 09:43:12.544 New DB connection, total: 2
2005-09-19 09:43:12.546 New DB DataDirect connection
--09:43:12--
http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

    [     <=>                             ] 150,500       68.67K/s             

09:43:16 (68.61 KB/s) - `-' saved [150500]

Your subscription expires on 12/11/2005 02:18:39 AM
2005-09-19 09:43:24.422 New DB connection, total: 3
2005-09-19 09:43:24.424 New DB connection, total: 4
--09:43:27--
http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

    [    <=>                              ] 123,897       60.19K/s             

09:43:31 (60.16 KB/s) - `-' saved [123897]

Your subscription expires on 12/11/2005 02:18:39 AM
2005-09-19 09:43:37.116 New DB connection, total: 5
2005-09-19 09:43:41.215 Connecting to backend server:
192.168.25.191:6543 (try 1 of 5)
2005-09-19 09:43:41.223 Using protocol version 15

-- 
The freedoms that we enjoy presently are the most important victories of the
White Hats over the past several millennia, and it is vitally important that
we don't give them up now, only because we are frightened.
  - Eolake Stobblehouse (http://stobblehouse.com/text/battle.html)


More information about the mythtv-users mailing list