|
|
Cron job script
heres a script you can launch on cron and it'll notify you when the result comes back bad:
you need to replace youremail@whatever.com with the email address you want the alert sent to.
slight refinement...
The grep process is unnecessary in returning the status, as awk has its own pattern matching. Also, to get better output, you should print both the third and fourth fields, to handle "Not Supported" or other multi-word output:
Cron job script
This script should test all your attached drives.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|