man locate.updatedb
says that the database for locate
is updated weekly.
That is confirmed by /System/Library/LaunchDaemons/com.apple.locate.plist
, which has
Weekday
6
To run nightly instead of only on that weekday, as root I tried to remove that part:
plutil -remove StartCalendarInterval.Weekday /System/Library/LaunchDaemons/com.apple.locate.plist
But that failed, "Operation not permitted," with no further explanation.
How can I cause updatedb to run nightly?
Sequoia 15.0.1, macbook pro, M3 pro.
Asked by Camille Goudeseune
(399 rep)
Oct 24, 2024, 09:08 PM
Last activity: Oct 24, 2024, 10:42 PM
Last activity: Oct 24, 2024, 10:42 PM