> From: steve rader
> I just wrote the enclosed.
>
> I'll use
>
> 0 * * * * /etc/raid.d/mdmon
Sorry, folks, stupid use of mime caused the msg to be sent
before I was finished.
The above, of course, is a crontab entry for checking the
raids every hour.
And I lied: I'll probably have mdmon send more strongly
worded email msg than cron would:
< print "Warning: /dev/$F[0] has a dead partition!\n";
---
> $s = "Warning: /dev/$F[0] has a dead partition!\n";
> `echo $s | mail -s \"DEAD DISK WARNING\" root`;
later
steve
- - -
systems guy
wiscnet.net