On 2026-04-14 18:55:26 +0700, Lin Qigang wrote:
> On 4/14/26 8:04 AM, Vincent Lefevre wrote:
> > Running anacron on upgrades is not a big problem, but it makes the
> > start time of the daily jobs less regular without any good reason
> > when an upgrade is done between midnight and 07:30. For instance,
> > if an upgrade is done on day 3 at 00:10,
> > 
> > Day 1: 07:30 (with a delay of up to 5 minutes)
> > Day 2: 07:30 (with a delay of up to 5 minutes)
> > Day 3: 00:10
> > Day 4: 07:30 (with a delay of up to 5 minutes)
> > 
> > So I would say that it would be better to avoid that.
> 
> If you want a job to run at 7:30 every day, you should be using cron.
> If you want a job to run some time every day, you should use anacron.

AFAIK, using cron is not possible because the machine (a laptop)
is sometimes switched off or suspended. I would expect anacron
to run cron jobs at about the same time everyday if possible
(i.e. in periods where the machine is up). I don't see why an
upgrade of anacron should deviate from that.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to