title: How to execute command when df -h return 98% full
body: <p>How to execute command when df -h return 98% full</p>
  
  <p>I have a disk which is by the </p>
  
  <pre><code>/dev/sdb1             917G  816G   55G  94% /disk1
  </code></pre>
  
  <p>If its return 98% full, I would like to do the following</p>
  
  <pre><code>find . -size +80M -delete
  </code></pre>
  
  <p>How do I do it, I will run the shell script using cron </p>
  
  <pre><code>* * * * * sh /root/checkspace.sh
  </code></pre>