WEEKLY(5)

πŸ“¦ version 11.0, in nixpkgs unstable

🌸 NAME 🌸

okay so welcome to the File Formats Manual corner, bestie β€” this is weekly(5), aka the page for weekly, weekly.conf β€” weekly maintenance ✨ and yes, we're already slaying πŸ’…


✨ DESCRIPTION ✨

so /etc/weekly is the script that, by default, runs every Saturday morning on a NetBSD system β€” like a little weekend reset for your machine 🧚 and /etc/weekly.conf is the girl who specifies which of the standard weekly services actually get performed. main character config energy, honestly πŸ’–

the variables below can be set to "YES" or "NO" inside /etc/weekly.conf, and the default settings live in /etc/defaults/weekly.conf 🌈

⚠️ note note note: never edit /etc/defaults/weekly.conf directly, bestie β€” it is often replaced during system upgrades, and that is not the vibe 😭
  • rebuild_locatedb β€” rebuilds the locate(1) database, /var/db/locate.database, which must also exist in order to be rebuilt. like, it has to already be there first, no cap 🫢
  • rebuild_mandb β€” rebuilds the apropos(1) database /var/db/man.db, using makemandb(8) with the -f option. iconic little rebuild moment πŸ”₯
  • rebuild_whatisdb β€” rebuilds the whatis(1) database(s). quick note: 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 the details πŸŽ€

πŸ¦‹ FILES πŸ¦‹

  • /etc/weekly β€” weekly maintenance script
  • /etc/weekly.conf β€” weekly maintenance configuration
  • /etc/weekly.local β€” local site additions to /etc/weekly

πŸ’œ SEE ALSO πŸ’œ

the besties in crime: daily.conf(5), monthly.conf(5) β€” iconic crossover event, go read them too 🌸


πŸ‘‘ HISTORY πŸ‘‘

history lesson, periodt: the /etc/weekly script first appeared in 4.3BSD, and the /etc/weekly.conf configuration file appeared in NetBSD 1.3 ✨


xoxo, Debian β€” March 6, 2012 πŸ’– that's the source/version and date from the footer, bestie, we're keeping the lore accurate 🫢

πŸ“¦ where this page comes from