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

Adam Funk  writes:
> I can't find anything there on how to change the start time each day;
> man 8 anacron does say this:
>
>   DEBIAN-SPECIFIC CONFIGURATION
>   On Debian-based systems, anacron will be activated hourly every day
>   from 07:30 local time to 23:30 local time through cron job (on
>   non-systemd systems where cron is installed and enabled) or systemd
>   timer (on systemd-based systems).  On activation, anacron will check
>   if it missed some jobs. If yes, it will start those jobs after a
>   short period of time.
>
> But I don't see how to change the 07:30 start.

You stopped reading too early:

    FILES
       /etc/anacrontab
              Contains  specifications  of jobs.  See anacrontab(5) for a
com‐
              plete description.

       /var/spool/anacron
              This directory is used by Anacron for storing timestamp files.

       /lib/systemd/system/anacron.service
              This file provides systemd service for anacron.

       /lib/systemd/system/anacron.timer
              This file provides systemd timer for anacron. Currently the
ser‐
              vice is triggered hourly through systemd timer.

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.

--
https://www.greenend.org.uk/rjk/

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