Skip to content

Commit

Permalink
Added new version information
Browse files Browse the repository at this point in the history
  • Loading branch information
KudosAbhay authored Oct 17, 2017
1 parent 36bbc14 commit c3a2a2f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,21 @@ An IFTTT-Webhook for receiving emails automatically if your Disk Usage exceeds 9

<br>

**To make this work, follow these steps**
**To make this work, you must:**
1. Download the repo using ```git clone https://github.com/KudosAbhay/Disk-Usage-Notifier.git```
5. Insert your Email ID, Other Email ID which must receive a carbon copy of the same in the main Python Code on Line 29
5. Edit Lines 4 to 7 in python code to change email address, threshold value and message to be sent as an email.
6. Now run the code and see the output. If your Disk Usage has exceeded 90% in any of the disks, then you will receive an email.



# To keep this running automatically in background on Ubuntu:
# To keep this running automatically in background:
1. Type ``` chmod a+x Disk-Usage-Notifier.py``` by going to the repo folder. This will make it executable.
2. Type ``` crontab -e ``` to open crontab editor.
3. To Run this program every minute use ``` */1 * * * * /usr/bin/python3 /folder/location/Disk-Usage-Notifier.py ``` in crontab
4. Done! Your Disk-Usage-Notifier can now send an email automatically at that specified time which you have mentioned in crontab if your Disk Usage exceeds more than 90%.
4. Done!

<br>
Your Disk-Usage-Notifier can now send an email automatically at that specified time which you have mentioned in crontab if your Disk Usage exceeds more than the threshold value.



0 comments on commit c3a2a2f

Please sign in to comment.