[mythtv-users] Feature request: hook into backend at idle

Craig Huff huffcslists at gmail.com
Tue Sep 18 19:09:20 UTC 2007


On 9/18/07, Brian Walter <blwalter at gmail.com> wrote:
>
> Yan Seiner wrote:
> > It would be nice to be able to schedule certain tasks when the backend
> > is idle.  Mostly I'm thinking of reboots for maintenance and such, but I
> > can see other tasks.
> >
> > I've not found a way to have the backend tell me:  "I'm idle now, do
> > what you need".
> >
>

What about using:

#mythshutdown --check
#if [ $? == 0 ]; then
  safe_to_shutdown
else
  not_safe_to_shutdown
fi


Craig.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070918/e57cc19b/attachment.htm 


More information about the mythtv-users mailing list