[mythtv-users] Question about getting Myth Backend status

Jack Madison jack at webhouse.cc
Thu May 17 14:00:51 UTC 2007


On Thu, 2007-05-17 at 09:55 -0400, Brian Walter wrote:
> Michael T. Dean wrote:
> > On 05/17/2007 09:38 AM, Brian Walter wrote:
> >   
> >> I need to write a program/script that will reboot the backend whenever 
> >> it is not 1) recording and 2) nothing is active in the job queue.
> >>
> >> Is there a module/script/?? that will return this, or, what values from 
> >> the DB do I query to find this information out?
> >>     
> >
> > wget 'http://mythhostname:6544/xml'
> >
> > If it's a "use every once in a while" script.  For regularly shutting 
> > down or whatever, check out mythwelcome and mythshutdown.
> >
> > Mike
> > _______________________________________________
> >   
> Thanks Mike!
> 
> For now, it's gonna be a once an hour check and if not busy, reboot.

Just out of curiosity, why?



More information about the mythtv-users mailing list