DESCRIPTION
The
/etc/weekly script is run, by default, every Saturday morning on a
NetBSD system. The
/etc/weekly.conf file specifies which of the standard
weekly services are performed.
The variables described below can be set to “YES” or “NO” in the /etc/weekly.conf file. The default settings are in the /etc/defaults/weekly.conf file. (Note that you should never edit /etc/defaults/weekly.conf directly, as it is often replaced during system upgrades.)
-
rebuild_locatedb
-
This rebuilds the locate(1) database, /var/db/locate.database, which must also exist, in order to be rebuilt.
-
rebuild_whatisdb
-
This rebuilds the whatis(1) database(s). Note that NetBSD provides a default whatis.db for the system manual pages and this may not be needed. (Adjust your /etc/man.conf as necessary; see man.conf(5) for details.)