aboutsummaryrefslogtreecommitdiff
path: root/assets/outbox/log-cleanup-cron-setup.txt
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-27 10:51:03 -0600
committerCraig Jennings <c@cjennings.net>2026-02-27 10:51:03 -0600
commitfc9291e883a49da0e8e97221223576fa640fe42c (patch)
tree702a1eb9e3ccaf7f785818dc31f9df1fedbed8af /assets/outbox/log-cleanup-cron-setup.txt
parent76d98bdf5f4c151b666aac8a66e842b53fbdde24 (diff)
downloadarchsetup-fc9291e883a49da0e8e97221223576fa640fe42c.tar.gz
archsetup-fc9291e883a49da0e8e97221223576fa640fe42c.zip
feat(archsetup): add rustup, log-cleanup cron, update configs
Add rustup toolchain manager to developer_workstation (before AUR packages that need rust to compile). Add log-cleanup cron job with test validation. Update ISO glob for archangel naming. Add dunst icon theme, hyprlock animations, waybar log filtering.
Diffstat (limited to 'assets/outbox/log-cleanup-cron-setup.txt')
-rw-r--r--assets/outbox/log-cleanup-cron-setup.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/assets/outbox/log-cleanup-cron-setup.txt b/assets/outbox/log-cleanup-cron-setup.txt
new file mode 100644
index 0000000..7549bc2
--- /dev/null
+++ b/assets/outbox/log-cleanup-cron-setup.txt
@@ -0,0 +1,22 @@
+Log Cleanup Cron Job
+====================
+
+Added: 2026-02-26
+
+What: Daily cleanup of session log files in ~/.local/var/log
+
+Problem: Hyprland, waybar, dunst, hypridle, and gammastep each create a new
+timestamped log file per session (e.g., dunst-2026-02-26-050000.log). Without
+cleanup these accumulate indefinitely (~270 files / 3MB as of Feb 2026).
+
+Solution: A cron job runs daily at noon, deleting .log files older than 7 days.
+
+Files added to archsetup:
+- dotfiles/common/.local/bin/cron/log-cleanup (the script)
+
+Installation on fresh system:
+1. Symlink is created by stow/dotfile install (same as checkup, crontog)
+2. Add to crontab:
+ crontab -e
+ # Add this line:
+ 0 12 * * * $HOME/.local/bin/cron/log-cleanup