[mythtv-users] backend suspend and wake

Monkey Pet monkeypet at gmail.com
Wed Mar 28 00:15:42 UTC 2012

I am wondering if anyone has scripted up a suspend and wakeup script for
their mythbackend.  Basically, I want to suspend the backend until the next
time the DVR needs to record something.  This can done using rtcwake and
feeding it the time to wake up.  I am guessing that I only need the
earliest next recording time and wake up before that.  Wondering what's the
easiest way to obtain that time.  Anyways, any suggestions would be
appreciated.  Otherwise, I will just need to do mysql queries for the
upcoming recordings, then reformat the time to time_t and feed that into
rtcwake.  Any other caveats I should be concerned about?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120327/16982e63/attachment.html>

More information about the mythtv-users mailing list