
monkeypet at gmail
Mar 27, 2012, 5:15 PM
Views: 377
Permalink
|
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?
|