<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 1, 2019 at 7:21 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</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">On Wed, 1 May 2019 06:35:45 -0400, you wrote:<br>
<br>
>On Mon, Apr 29, 2019, 23:28 Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>><br>
>wrote:<br>
><br>
>> On Mon, 29 Apr 2019 17:41:37 -0400, you wrote:<br>
>><br>
>> >On Wed, Apr 24, 2019 at 10:43 PM Stephen Worthington <<br>
>> ><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
>> ><br>
>> >> On Wed, 24 Apr 2019 11:46:28 -0500, you wrote:<br>
>> >><br>
>> >> >On 4/24/19 11:34 AM, Daryl McDonald wrote:<br>
>> >> >> When I wrote out I wasn't offered the path I expected<br>
>> >> >> (/etc/systemd/system/anacron.timer.d.) rather an alpha/numeric<br>
>> >> sequence, I<br>
>> >> >> now suspect they were the tailing sequence:<br>
>> >> (#override.confd50a7936adc6c1fe)<br>
>> >> ><br>
>> >> >That's just a temporary file. Type: systemctl cat anacron.timer<br>
>> >> >and you should see the original file (probably in /lib...) and<br>
>> >> >the expected override.<br>
>> >><br>
>> >> Yes, the editor is opened on a temporary file in the directory it has<br>
>> >> just created:<br>
>> >><br>
>> >> /etc/systemd/system/anacron.timer.d/<br>
>> >><br>
>> >> When you save the file in the editor, it gets renamed to<br>
>> >> "override.conf".<br>
>> >> _______________________________________________<br>
>> >><br>
>> >I can see that the override took effect, the third line below seems to<br>
>> >indicate that nothing actually ran, am I reading this right?<br>
>> ><br>
>> > Apr 28 19:30:00 trieli systemd[1]: Started Run anacron jobs.<br>
>> >Apr 28 19:30:00 trieli anacron[3999]: Anacron 2.3 started on 2019-04-28<br>
>> >Apr 28 19:30:00 trieli anacron[3999]: Normal exit (0 jobs run)<br>
>><br>
>> Yes, that normally means that anacron had already been run that day,<br>
>> so when the timer ran it, it checked its timestamps in<br>
>> /var/spool/anacron and decided it should not be run again. The next<br>
>> day, it should run the jobs.<br>
>><br>
><br>
>I saw the same thing in yesterday's syslog at 19:30 and this time I know I<br>
>didn't run the optimize script. Is anacron running on startup and at the<br>
>override time?<br>
<br>
Yes, it will run just after startup (from anacron.service), and<br>
whenever it gets run by anacron.timer. If you do not want it to run<br>
at startup, run this command:<br>
<br>
sudo systemctl disable anacron.service<br>
<br>
That stops systemd from running anacron.service directly, but as<br>
anacron.timer is still enabled, anacron.timer will still run<br>
anacron.service at the specified times.<br></blockquote><div><br></div><div>Thanks Stephan, anacron may have started today as I opened to implement this fix, so I'll check again tomorrow to confirm effectiveness. </div></div></div>