Re: anacron/cron

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

 



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:

/usr/libexec/mlocate-run-updatedb


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...

Andy



On 19 September 2016 at 21:16, Patrick Dupre <pdupre@xxxxxxx> 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: pdupre@xxxxxxx
>  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" <joe@xxxxxxx>
>> To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
>> 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 -- users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



-- 
Andy

The only person to have all his work done by Friday was Robinson Crusoe
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux