Thanks for that!
Also, considering a job scheduled like
~ ~ * * * somecommand
I'm assuming, provided that the cron daemon is not restarted, this would
run the job at a single random point in each 24h period, right? A
*different* point in time, each 24 period?
On Thu, Apr 16, 2020 at 10:28:34AM -0600, Theo de Raadt wrote:
> Yes.
>
> But that problem already existed with the minutes field being >close to
> the moment cron was restarted.
>
> Only difference is now you don't know the minute.
>
>
> Andreas Kusalananda Kähäri <[email protected]> wrote:
>
> > Thanks for the ~ crontab(5) feature!
> >
> > Question: If the cron daemon is restarted (e.g. via reboot) during the
> > interval during which a cron job may be randomly triggered, is there a
> > risk (or even guarantee) that the job may run a second time?
> >
> >
> > Regards,
> >
> > --
> > Andreas (Kusalananda) Kähäri
> > SciLifeLab, NBIS, ICM
> > Uppsala University, Sweden
> >
> > .
> >
--
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden
.