6+ minute apt-daily.service boot delay

Tom H tomh0665 at gmail.com
Tue Nov 15 04:32:38 UTC 2016


On Tue, Nov 15, 2016 at 1:53 AM, NoOp <glgxg at sbcglobal.net> wrote:
>
> Any idea on how to trigger apt-daily.service on a new boot? I think that
> it has a 12 hour timer somewhere & I'd like to test it repeatedly.

I've never used any systemd timer unit but you should be able override
apt-daily.timer with a dropin and set

OnBootSec=90

for apt-daily.service to run, for example, 90 seconds after boot.

I'm unsure whether you'd have to unset the default triggers with

OnCalendar=
RandomizedDelaySec=

in the dropin



More information about the ubuntu-users mailing list