Add cronjob to remove old backup messages.
Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
parent
077431fa06
commit
d14c980816
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ BINDIR="@HUHU_DIR@/bin"
|
||||||
# Remove old records from database
|
# Remove old records from database
|
||||||
5 3 * * * "$BINDIR/removeold.pl" "$CONFIG"
|
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.
|
# Reads database, sends reply to authors of pending messages.
|
||||||
# 10 * * * * "$BINDIR/autoreply.pl" "$CONFIG"
|
# 10 * * * * "$BINDIR/autoreply.pl" "$CONFIG"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue