From 70c4690c8eb73239b8031313c17973f1dcd27fa2 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 17 Oct 2023 00:15:29 +0200 Subject: [PATCH] docs: add more infos for messenger:monitor:purge (#23) Co-authored-by: Christopher Georg --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2546558..9718a61 100644 --- a/README.md +++ b/README.md @@ -149,10 +149,12 @@ add your own in one of two ways: If your app handles a lot of messages, the processed message database table will get very large. The `messenger:monitor:purge` clears messages older than a specific date: +See [`Period`](https://github.com/zenstruck/messenger-monitor-bundle/blob/1.x/src/History/Period.php#L19) for allowed values. ```bash bin/console messenger:monitor:purge # by default, purges all messages older than 1 month +bin/console messenger:monitor:purge --older-than all bin/console messenger:monitor:purge --older-than 1-day bin/console messenger:monitor:purge --older-than 1-week