Add cronjob to remove old backup messages.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2026-02-07 21:56:45 +01:00
parent 077431fa06
commit d14c980816

View file

@ -22,6 +22,9 @@ BINDIR="@HUHU_DIR@/bin"
# Remove old records from database
5 3 * * * "$BINDIR/removeold.pl" "$CONFIG"
# Remove old messages (older than 14 days) from backup dir
15 3 * * * find @USER_HOME@/backup -type f -mtime +14 -exec rm {} \;
# Reads database, sends reply to authors of pending messages.
# 10 * * * * "$BINDIR/autoreply.pl" "$CONFIG"