Re: Many timers now running at boot. How to make them run later?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



"David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx> on Thu, 2019/11/21 04:08:
> [...]
>
>   What is the best way to modify this scheme to prevent, e.g.
> logrotate.time, man-db.timer and shadow.timer all trying to run on boot?
> I'd rather set them up to run a 5:00 localtime as I would with cronnie. But
> I do want to use the systemd timer, so what is the best way to configure
> the systemd timer to schedule these things to run at a convenient time
> instead of all firing on boot?

I've created systemd configuration overlay snippets for this, for example
/etc/systemd/system/man-db.timer.d/RandomizedDelaySec.conf:

[Timer]
RandomizedDelaySec=30min

Create a file for every timer you want to delay.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

Attachment: pgpNMtFDeSq8E.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux