From 8ff88e390f2f3b3e5ea06c70040ab26356bc0365 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Fri, 6 Jun 2025 15:49:25 -0700 Subject: [PATCH] Worked on README.md to add cleanup instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5dafd51..9b4b801 100644 --- a/README.md +++ b/README.md @@ -285,8 +285,8 @@ After editing `.service` files, always run: sudo systemctl daemon-reload ``` -### 5. Database Maintenance -Run a script to keep the database small and fast.(modify /path/to/file/ to the correct path) +## 5. Database Maintenance +### Create and save bash script below. Make it executable.(modify /path/to/file/ to the correct path) ```bash #!/bin/bash @@ -317,7 +317,7 @@ sudo systemctl start meshview-web.service echo "Database cleanup completed on $(date)" ``` -Schedule running the script on a regular basis. In t his example it runs every noght at 2:00am +### Schedule running the script on a regular basis. In t his example it runs every noght at 2:00am Open scheduler ```bash sudo crontab -e