From 8e30de71f2d6c055c005a3eb6f69dc8b7c6b7fb5 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Fri, 6 Jun 2025 15:45:40 -0700 Subject: [PATCH] Worked on README.md to add cleanup instructions --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7785c11..762ff13 100644 --- a/README.md +++ b/README.md @@ -312,15 +312,17 @@ EOF # Start DB service #echo "Start services..." sudo systemctl start meshview-db.service -#sudo systemctl start meshview-web.service +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 +Open scheduler ```bash sudo crontab -e ``` +Add schedule to the bottom of the file ```bash 0 2 * * * /path/to/file/cleanup.sh >> /path/to/file/cleanup.log 2>&1 ```