[mythtv-users] heartbeat for mythbackend?

Paul A Pick paul.pick at gmail.com
Sun Aug 20 15:26:02 UTC 2006


> Is there anyway to get mythbackend to write a heartbeat to
> the log file?

I don't know about that but I run this script on
a cron to keep tabs on mythbackend:

#!/bin/sh

if ! lynx -dump http://localhost:6544/ | grep -q Schedule ; then
 echo "Backend is wedged. Here is output:"
 lynx -dump http://localhost:6544/
 echo
 echo "####################################################"
 echo
 echo "Restarting backend."
 killall mythbackend
fi

-- 
Paul Pick | paul.pick at gmail.com | http://packrat.dnsalias.org/
==============================================================
Make no friendship with an elephant keeper
unless you have room to entertain an elephant.


More information about the mythtv-users mailing list