rclone: Remove logs older than 30 days
This commit is contained in:
parent
338f4e2f0d
commit
af5655e131
1 changed files with 2 additions and 0 deletions
|
@ -33,3 +33,5 @@ for host in $("$RCLONE" --config "$CONFIG" listremotes | tr -d ":") ; do
|
|||
cat "$log"
|
||||
fi
|
||||
done
|
||||
|
||||
find "$LOGDIR" -type f -name "*.log" -mtime +30 -delete
|
||||
|
|
Loading…
Add table
Reference in a new issue