TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RICHARD KETTLEWELL
from: ADAM FUNK
date: 2020-02-24 09:24:00
subject: Re: Controlling the time

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
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.


--
But the government always tries to coax well-known writers into the
Establishment; it makes them feel educated.        ---Robert Graves

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.