<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
On 28/03/12 01:15, Monkey Pet wrote:
<blockquote
cite="mid:CADXZuRyOUiveZvGP8VfSbSzAoum6MkgVCwqMCyW_RduRX91vKg@mail.gmail.com"
type="cite">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?
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a>
</pre>
</blockquote>
Everything you need to know is documented here <a
href="http://www.mythtv.org/wiki/ACPI_Wakeup">http://www.mythtv.org/wiki/ACPI_Wakeup</a>.
I've been running this update to my system for several years now.
It would be nice if it was incorporated into the base as a
configuration option.<br>
</body>
</html>