<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On 24 Nov 2014, at 3:28 pm, "Daryl McDonald" <<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 23, 2014 at 10:11 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Daryl,<br>
<div><div><br>
Monday, November 24, 2014, 1:08:36 AM, you wrote:<br>
<br>
<br>
> On Nov 23, 2014 6:18 PM, "Bill Meek" <<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>> wrote:<br>
>><br>
>> On 11/23/2014 04:59 PM, Daryl McDonald wrote:<br>
>>><br>
>>> I copied the script in cron.weekly into cron.daily, chmod'd it and ran<br>
>>> "sudo /etc/cron.daily/mythtv-database" and the backup went to the location<br>
>>> indicated by BE storage directories. Will this now happen automagically<br>
>>> every day? and rotate to keep the latest five?<br>
>><br>
>><br>
>> It will work the same way as it did when run from the command line.<br>
>><br>
>> Note you mentioned that you *copied* the script from weekly to daily.<br>
>> That means that once a week, it will run twice. You most likely want<br>
>> to remove the weekly version. Also, your distribution is likely to<br>
>> put the weekly version back if it's version changes or perhaps during<br>
>> an upgrade. Nothing wrong, just be aware if it.<br>
>><br>
>><br>
>> --<br>
>> Bill<br>
>> _______________________________________________<br>
>> mythtv-users mailing list<br>
>> <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
>> <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
>> MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
> I gksudo gedited it into the cron.daily, copy and paste from<br>
> clipboard and commented out each line in<br>
> cron.weekly/mythtv-database. This should survive an upgrade without<br>
> renewing or removing the #'s, right?<br>
<br>
<br>
<br>
</div></div>The best way is to even subtly changing the name. But Bill didn't mean<br>
that the new job would get removed. He meant that on any upgrade the<br>
old weekly job would get reinserted. That's why I love Gentoo, It<br>
asks more in knowing what you do, but it also doesn't try to think<br>
for you, without asking! It suggests, but always asks!<br>
<span><br>
Tot mails,<br>
Hika mailto:<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a><br>
<br>
"Zonder hoop kun je niet leven<br>
Zonder leven is er geen hoop<br>
Het eeuwige dilemma<br>
Zeker als je hoop moet vernietigen om te kunnen overleven!"<br>
<br>
De lerende Mens<br>
<br>
</span><div><div>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a></div></div></blockquote><div><br></div><div>Understood, but (here in Ubuntu) if the original cron.weekly/mythtv-database remains in place (commented out) and that same script is created in cron.daily/mythtv-database, then upgrades would see no void to fill, correct? problem averted, yes.</div></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br></div></blockquote><br><div>Probably not (but I don't know). I'm guessing more likely it would see that the file is different and give you a "replace / backup and replace / keep original" set of options to choose from instead (at least in cron.weekly, assuming you retained the original file name). It would leave cron.daily untouched as far as your new file is concerned.</div><div><br></div><div>Maybe one of the Mythbuntu devs will comment?</div></body></html>