update-db cron job: solving a long-standing issue
Thilo Six
T.Six at gmx.de
Mon Sep 17 16:55:49 UTC 2007
<snip>
> I donĀ“t know if that already happens, but the same way updatedb could be
> instructed to do a 'delta' only and leave unchanged files alone (instead of
> update the whole db each time).
# time /etc/cron.weekly/slocate
real 1m6.354s
user 0m0.247s
sys 0m0.581s
# time /etc/cron.weekly/slocate
real 0m0.548s
user 0m0.110s
sys 0m0.426s
The second run was right after, so i think slocate is allready doing the
'delta' thingy.
>> Scott K
--
Thilo
key: 0x4A411E09
More information about the Ubuntu-devel-discuss
mailing list