Update README.md
This commit is contained in:
@@ -114,14 +114,12 @@ raidtemp=$(megacli -AdpAllInfo -aAll | grep -i 'roc temperature' | awk '{print $
|
|||||||
echo "The RAID controller's temperature is "$raidtemp" at $(date)" >> "$logfile"
|
echo "The RAID controller's temperature is "$raidtemp" at $(date)" >> "$logfile"
|
||||||
```
|
```
|
||||||
|
|
||||||
Crontab Entry:
|
Crontab Entry, (this runs the script every 3 hours):
|
||||||
|
|
||||||
```
|
```
|
||||||
0 */3 * * * /home/charizard/myscripts/raidnotifier
|
0 */3 * * * /home/charizard/myscripts/raidnotifier
|
||||||
```
|
```
|
||||||
|
|
||||||
This runs the check every 3 hours.
|
|
||||||
|
|
||||||
Logrotate Configuration File:
|
Logrotate Configuration File:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user