I've codedThere are some journalctl command parameters to vacuum that journal:Code:
--vacuum-size=BYTES Reduce disk usage below specified size --vacuum-files=INT Leave only the specified number of journal files --vacuum-time=TIME Remove journal files older than specified time
Code:
# m h dom mon dow command0 0 * * * journalctl --vacuum-time=1dStatistics: Posted by DougieLawson — Mon Feb 17, 2025 6:30 pm