diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-27 10:51:03 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-27 10:51:03 -0600 |
| commit | 53ea56ccb050b4a72f7919e8ee6b9146cc816251 (patch) | |
| tree | 30d179abdcf75f1d454fc86e4447ea0589c7b93a /assets/outbox/log-cleanup-cron-setup.txt | |
| parent | 534826f7f32352c8d9de841e9e07cd63e8acf711 (diff) | |
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.txt | 22 |
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 |
