<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 08/11/2018 07:53 AM, Daryl McDonald
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMwtTBC+s2pgd3gD=q=E7GTUY+LnuHu7pro68ZiQViHZWeDTqw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Aug 11, 2018, 3:43 AM <<a
href="mailto:mythtv-users@gorbag.com"
moz-do-not-send="true">mythtv-users@gorbag.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri,
10 Aug 2018 19:56:39 -0700<br>
Douglas Peale <<a
href="mailto:Douglas_Peale@comcast.net" target="_blank"
rel="noreferrer" moz-do-not-send="true">Douglas_Peale@comcast.net</a>>
wrote:<br>
<br>
> On 08/10/2018 06:59 AM, Peter Bennett wrote:<br>
> <br>
> The problem is not systemd. MythTV was working fine
with Mint 18<br>
> through 18.3, and those versions also had systemd.<br>
> <br>
> I have finally identified the problem. MythTV does
not call<br>
> setwakeup.sh if it does not find anything to record.<br>
> <br>
> This is a problem because if nothing else wakes up
the backend<br>
> system, mythfilldatabase will not be run, and the
system will not<br>
> notice new items in the schedule because it has an
out of date<br>
> schedule.<br>
> <br>
> MythTV should schedule a wakeup to run
mythfilldatabase when it does<br>
> not find anything else in its schedule. It should
schedule a wakeup<br>
> for mythfilldatabase anyway if the scheduled event
would happen after<br>
> it runs out of schedule for any channel.<br>
> <br>
<br>
There is a program called mythwelcome that has a setting
to allows two<br>
forced wakeup periods. See <a
href="https://www.mythtv.org/wiki/Mythwelcome"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://www.mythtv.org/wiki/Mythwelcome</a>.<br>
These settings are obeyed even when mythwelcome is not
being used. So<br>
you only need to run mythwelcome to add a wakeup period,
there is no<br>
need to use it in normal use. It would be nice if the
forced wakeup<br>
period settings were added to mythfrontend's shutdown
settings or<br>
perhaps to mythtv-setup. <br>
<br>
Steve<br>
-- <br>
____________________________________________________________________<br>
Steve Evans E-mail: mailto:<a
href="mailto:stevee@gorbag.com" target="_blank"
rel="noreferrer" moz-do-not-send="true">stevee@gorbag.com</a><br>
Registered Linux user #217906: <a
href="http://counter.li.org" rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true">http://counter.li.org</a><br>
Public Encryption Key: <a
href="http://www.gorbag.com/public-key.html"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://www.gorbag.com/public-key.html</a><br>
____________________________________________________________________<br>
<br>
4.9.95-gentoo Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
GNU/Linux<br>
<br>
08:15:25 up 5 days, 23:34, 7 users, load average: 1.09,
0.85, 0.67<br>
<br>
Peter Griffin: NOOOOOO. Silly rabbit, Trix are for kids.
Damn<br>
longears, trying to take Easter away from Jesus. Anyway,
what was that<br>
you were saying?<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank"
rel="noreferrer" moz-do-not-send="true">mythtv-users@mythtv.org</a><br>
<a
href="http://lists.mythtv.org/mailman/listinfo/mythtv-users"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">https://forum.mythtv.org</a></blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Or, just schedule a news type recording once a
week.</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
I suggest you set something up that runs at startup to schedule a
wakeup for 3 am next day. This would be overridden if there was a
recording scheduled that subsequently called the wakeup script.
However that does not really solve the problem of a recording
scheduled for a week away, which would then shut you down for the
whole week. So you need a customized wakeup script that checks if
the wakeup time is far in the future it sets up an earlier time. My
example -->
<a class="moz-txt-link-freetext" href="https://github.com/bennettpeter/mythscripts/blob/master/install/opt/mythtv/bin/setwakeup.sh">https://github.com/bennettpeter/mythscripts/blob/master/install/opt/mythtv/bin/setwakeup.sh</a><br>
<br>
</body>
</html>