It *should* be running every day, but just checked my system and it's
not enabled either and hasn't run for a week as well - possible bug?
Anyway, to fix it, run the following commands (as root or via sudo):
systemctl list-timers --all
That *should* list a UNIT called "mlocate-updatedb.timer", but on my
system it did not. To enable it, use the following command:
systemctl enable mlocate-updatedb.timer
You can also update the DB manually by running the script that calls:
Getting back to that "list-timers" command, all of systemd's timers
are in "/usr/lib/systemd/system/" and have the extenstion "timer".
Might be worth having a look and seeing what else you think should be
running, but isn't...
On 19 September 2016 at 21:16, Patrick Dupre <pdu...@gmx.com> wrote:
> -rw-r-----. 1 root slocate 30573186 Sep 12 15:40 /var/lib/mlocate/mlocate.db
> This what I anticipated,
> The database has not been updated for a week !
> Patrick DUPRÉ | | email: pdu...@gmx.com
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>> Sent: Monday, September 19, 2016 at 10:11 PM
>> From: "Joe Zeff" <j...@zeff.us>
>> To: "Community support for Fedora users" <email@example.com>
>> Subject: Re: anacron/cron
>> On 09/19/2016 01:04 PM, Patrick Dupre wrote:
>> > How can I be sure that mlocate runs properly ?
>> If all else fails, run this as root:
>> ls -l /var/lib/mlocate/mlocate.db
>> and see when it was last updated.
>> users mailing list -- firstname.lastname@example.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> users mailing list -- email@example.com
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
The only person to have all his work done by Friday was Robinson Crusoe
users mailing list -- firstname.lastname@example.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org