Séra Balázs to [email protected] • 4 months agoRemember to not to forget clearing your journallemmy.worldmessage-square61fedilinkarrow-up1668
arrow-up1668imageRemember to not to forget clearing your journallemmy.worldSéra Balázs to [email protected] • 4 months agomessage-square61fedilink
minus-squareMorethanevillinkfedilink3•4 months agoCron is better known than a systemd timer, but you can provide an example for the timer 😃
minus-square@[email protected]linkfedilink5•edit-24 months agoReally, the correct way would be to set the limit you want for journald. Put this into /etc/systemd/journald.conf.d/00-journal-size.conf: [Journal] SystemMaxUse=50M Or something like this using a timer: systemd-run --timer-property=OnCalender=daily $COMMAND
Cron is better known than a systemd timer, but you can provide an example for the timer 😃
Really, the correct way would be to set the limit you want for journald. Put this into
/etc/systemd/journald.conf.d/00-journal-size.conf
:Or something like this using a timer:
systemd-run --timer-property=OnCalender=daily $COMMAND
Thanks for this addition ☺️