Odd locate behavior

Colin Law clanlaw at gmail.com
Mon Sep 16 14:27:32 UTC 2024


On Mon, 16 Sept 2024 at 15:20, Little Girl <littlergirl at gmail.com> wrote:

>
>         "For  each  job,  Anacron  checks  whether  this job has been
>         executed in the last n days, where n is the period specified
>         for that job.  If not, Anacron runs the job's shell command,
>         after waiting for the number of minutes specified as the
>         delay parameter."
>
> I could be interpreting that incorrectly, but here's my take on it:
>
> If anacron runs today, it checks if it has been more than 1 day since
> any daily cron jobs were supposed to fire. Right?

I would interpret it to mean it checks if it is more than 1 day since
it has actually been executed, not since it was supposed to be
executed.
It will never be more than one day since the cron job was supposed to
run, as it is supposed to run every day.

Colin L



More information about the ubuntu-users mailing list