summaryrefslogtreecommitdiffstats
path: root/source/ap/man-db/man-db.cron
blob: d8cd84d232b62a68cd59e8c87b1201e76ba36576 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# man-db daily cronjob, part of the man-db package.

# Unset $MANPATH so that mandb will get it from man_db.conf rather than
# the environment:
unset MANPATH

# Make sure the man-db cache directory exists:
mkdir -p /var/cache/man

# Regenerate the index databases caches used by man-db.
# These increase perfomance and provide features such as whatis and apropos.
ionice -c3 nice -n 19 /usr/bin/mandb --no-purge --quiet