1 parent 3209499 commit 5656a4eCopy full SHA for 5656a4e
1 file changed
README.md
@@ -28,8 +28,12 @@ Data cleanup
28
Retention is fixed at 300 days. To purge earlier by hand, the bundled `clean.sh` is all you need
29
(data is plain per-day JSONL, so cleanup is just find+delete):
30
31
-```bash
32
-./clean.sh 30 # delete probe data older than 30 days
+```
+# clean.sh [N] — delete pingping probe data older than N days (default 30).
33
+# Data files are plain per-day JSONL under ./data/<target>/YYYY-MM-DD.jsonl,
34
+# so cleanup is just find+delete. Run from the pingping directory.
35
+days="${1:-30}"
36
+find ./data -type f -name '20*.jsonl' -mtime +"$days" -print -delete
37
```
38
Latest [Releases](https://github.com/githubflyideas/pingping/releases)
39
0 commit comments