Adam Funk writes:
> On 2020-02-20, Richard Kettlewell wrote:
>> You stopped reading too early:
> ...
>> Start with ‘man systemd.timer’ for the syntax & meaning of the timer
>> file, and look for ‘Overriding vendor settings’ in ‘man
systemd.unit’
>> for how to modify its behavior.
>
> Thanks --- I think I'm getting closer, but not successful yet. I
> found a symlink from
> /etc/systemd/system/timers.target.wants/anacron.timer to
> /lib/systemd/system/anacron.timer, deleted it, copied the linked file
^^^^^^^^^^
I have no idea why you would do that.
> into the etc location, and edited the relevant-looking line as
> follows:
>
> #OnCalendar=*-*-* 07..23:30
> OnCalendar=*-*-* 05..23:30
>
> Then I used touch to set the timestamp on
> /var/spool/anacron/cron.daily back a few hours.
>
> And cron.daily got run at 07:30 again this morning. Any more
> suggestions? I'd be grateful.
You will probably need to run ‘systemctl daemon-reload’, but you’ll need
to undo the random file deletion above first.
--
https://www.greenend.org.uk/rjk/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|