We like to monitor the NAS storage mounted on a 
linux box.  We only
  like to be notified via mail when the usage exceeds a certain number
  say 80.  We have only seen in 
linux books where most of them are
  calling shell scripts at certain times.
How do we write inside crontab to only mail us if it exceeds 80 ?
  Usual eg
  2 2 * * * /home/someUser/script.sh 2&1 | mail 
[email protected]
  
  Looking for  solution like below
  
  2 2 * * * if [ someNumber  "80" ] ; then /home/someUser/script.sh |
  mail 
[email protected]
Sincerely