<div dir="ltr">Thanks a lot for the clarification fellas, I've got it working great now. My script is<br><br>if pidof mythbackend ; then<br> echo "Mythbackend is running $(date +%m%d%y_%T)" >> /home/bobby2/logs/backend.log<br>
else<br> echo "Mythbackend wasn't running, restarted at $(date +%m%d%y_%T)" >> /home/bobby2/logs/backend.log<br> /etc/rc.d/mythbackend restart<br>fi<br><br>I just added the cronjob to my /root/cron and it works great. Learn somethin' new everyday! :)<br>
<br>Bob<br><br><br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 5:02 AM, Tino Keitel <span dir="ltr"><<a href="mailto:tino.keitel@gmx.de">tino.keitel@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Aug 12, 2008 at 15:49:53 -0700, Gregory K. Ruiz-Ade wrote:<br>
> On Aug 11, 2008, at 8:06 PM, Nick Rout wrote:<br>
><br>
> > Oh and another option is to start out of inittab with a respawn<br>
> > statement, but that can be hard to stop! And occasionally you do need<br>
> > to stop mythbackend, to reconfigure cards or something.<br>
><br>
><br>
> I'm running myth on ubuntu (soon to migrate to a fresh install of<br>
> MythBuntu), and I use monit (<a href="http://www.tildeslash.com/monit/" target="_blank">http://www.tildeslash.com/monit/</a>,<br>
> available from ubuntu via aptitude) to check that mythbackend is<br>
<br>
</div>Doesn't Ubuntu use upstart, which comes with builtin service<br>
supervision? So why use stuff like monit then?<br>
<br>
Regards,<br>
<font color="#888888">Tino<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<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" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br></div>