Mlocate-updatedb.timer Not Working?
I set this computer up with CentOS 8 a few days ago.
“systemctl status mlocate-updatedb.timer” says “Active (waiting)”.
But the mlocate database hasn’t been updated since the last time I ran updatedb manually.
# ls -l /var/lib/mlocate/*
-rw-r—–. 1 root slocate 22944208 Feb 29 10:30 /var/lib/mlocate/mlocate.db
What have I missed?
2 thoughts on - Mlocate-updatedb.timer Not Working?
Just to follow this up, the mlocate database update started working automatically again by magic. I didn’t change anything but it’s now updating itself daily as expected.
Just going through my mail messages, and as a quick reply, if you run
‘systemctl list-timers’ it will show you when the timer last ran and when it is next due to run.
No idea as to why yours seemed to stop then start.
John.