<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019 at 8:44 PM <a href="mailto:jam@tigger.ws">jam@tigger.ws</a> <<a href="mailto:jam@tigger.ws">jam@tigger.ws</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>On 24 Apr 2019, at 4:24 am, <a href="mailto:mythtv-users-request@mythtv.org" target="_blank">mythtv-users-request@mythtv.org</a> wrote:</div><br class="gmail-m_-7794541999754669995Apple-interchange-newline"><div><blockquote type="cite" style="font-family:Helvetica;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br class="gmail-m_-7794541999754669995Apple-interchange-newline">Having the script in /etc/cron.daily doesn't seem to be functional, I'd<br>like to have the database optimize itself just before the nightly<br>auto-shutdown. What is a good way to accomplish this?  It's mythtv fixes<br>0.29 on Ubuntu desktop 18.04.  TIA  Daryl<br><br></blockquote><br style="font-family:Helvetica;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">You say having the script in /etc/cron.daily is not functional, but you</span><br style="font-family:Helvetica;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">haven't entirely explained what you mean by that.</span><br style="font-family:Helvetica;font-size:18px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"></div></blockquote></div><br><div>I’ve run mythtv for many years</div><div>I’ve some thousands of videos</div><div>I’ve some tens of recordings and some 100s of deleted</div><div>I’ve never run optimise.</div><div><br></div><div>I ran optimise and it completed in 15 odd seconds, so why not have</div><div> an ordinary reboot cron entry?</div><div><br></div><div>James</div></div>______________________________________<br></blockquote><div><br></div><div>After a few days of normal use, I start seeing momentary freeze ups in playback, while the optimize script is in cron.daily. Running it from the terminal clears things up, doing it automatically, after the days recordings would be ideal.</div></div></div>