diff --git a/etc/skel/etc/samples/crontab b/etc/skel/etc/samples/crontab index 4b839c6..0c5dd12 100644 --- a/etc/skel/etc/samples/crontab +++ b/etc/skel/etc/samples/crontab @@ -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"