Readme.md aktualisiert

This commit is contained in:
Manuel Kamper 2023-12-28 17:48:26 +00:00
parent ec4fdb3e05
commit cc635068d0

View File

@ -44,7 +44,9 @@ Set up a cron job to run the script daily:
Add the following line to the crontab file:
`0 0 * * * /path/to/disk_full_alert.sh`
This will run the script at midnight every day.
`0 */4 * * * /path/to/disk_full_alert.sh`
This will run the script at 0 minutes past every 4 hours every day.
Now, the script will run every 4 hours, checking disk usage and sending an email notification if the disk space is running low. You can adjust the interval as needed to suit your schedule.
Now, you should receive an email notification when the disk space on your server is running low. You can adjust the threshold variable in the script to set the disk usage percentage at which you want to receive notifications.