This what I have in
/usr/lib/systemd/system/plocate-updatedb.timer
[Unit]
Description=Update the plocate database daily
[Timer]
OnCalendar=daily
RandomizedDelaySec=12h
AccuracySec=20min
Persistent=true
[Install]
WantedBy=timers.target
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
> Sent: Tuesday, August 09, 2022 at 3:23 PM
> From: "Tom Horsley" <horsley1953(a)gmail.com>
> To: users(a)lists.fedoraproject.org
> Subject: Re: updatedb
>
> On Tue, 9 Aug 2022 15:13:23 +0200
> Patrick Dupre wrote:
>
> > updatedb is not run periodically.
> >
> > What should I do to have it run?
> > cron ?
>
> On my system it was automagically set up to run via:
>
> /usr/lib/systemd/system/plocate-updatedb.timer
>
> (and was very annoying because it always ran at the most
> inconvenient time possible)
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
>