From 2fe52b8744a324015a7d7630eaaa273d56369a84 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Fri, 6 Jun 2025 15:51:27 -0700 Subject: [PATCH] Worked on README.md to add cleanup instructions --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bfe1424..d1a4e89 100644 --- a/README.md +++ b/README.md @@ -286,8 +286,8 @@ sudo systemctl daemon-reload ``` ## 5. Database Maintenance -### Create and save bash script below. Name it cleanup.sh -### Make it executable.(modify /path/to/file/ to the correct path) +#### Create and save bash script below. Name it cleanup.sh +#### Make it executable.(modify /path/to/file/ to the correct path) ```bash #!/bin/bash @@ -318,12 +318,12 @@ 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 ``` -Add schedule to the bottom of the file (modify /path/to/file/ to the correct path) +#### Add schedule to the bottom of the file (modify /path/to/file/ to the correct path) ```bash 0 2 * * * /path/to/file/cleanup.sh >> /path/to/file/cleanup.log 2>&1 ```