2
Hello I would like to know if it is possible to perform a certain action(run a shell script file for example) when the server exceeds a certain percentage of storage.
*Command used to view the server disk space: df -h
Att,
2
Hello I would like to know if it is possible to perform a certain action(run a shell script file for example) when the server exceeds a certain percentage of storage.
*Command used to view the server disk space: df -h
Att,
Browser other questions tagged linux server server-side
You are not signed in. Login or sign up in order to post.
Make a cron job that runs a Shell Script used to check the disk space. In this shell script you can run something (like sending an email) depending on the return of df -h. Your cron job could be set to run every minute (or as you wish).
– cantoni