January 22, 201412 yr I dug this up from a thread in v4.x. Is this still relevant for 5.0? I put the following commands in a file named monthly_parity_check.sh I'll invoke it via the "go" script every time I reboot. #!/bin/sh crontab -l >/tmp/crontab grep -q "/root/mdcmd check" /tmp/crontab 1>/dev/null 2>&1 if [ "$?" = "1" ] then echo "# check parity on the first of every month at midnight:" >>/tmp/crontab echo "0 0 1 * * /root/mdcmd check NOCORRECT 1>/dev/null 2>&1" >>/tmp/crontab crontab /tmp/crontab fi
January 22, 201412 yr I am not aware if this will continue to work or not. I typically view adding anything to the go script as a "last resort". Both Dynamix and Unmenu support scheduled monthly parity checks. I would look at using one of those.
January 22, 201412 yr Author I am not aware if this will continue to work or not. I typically view adding anything to the go script as a "last resort". Both Dynamix and Unmenu support scheduled monthly parity checks. I would look at using one of those. I'd rather not install 3rd party plugins / GUIs; I'm trying to keep unRAID as vanilla as possible.
January 23, 201412 yr I share the desire to keep a vanilla unRAID. But it seems like six of one, 1/2 dozen of the other. On one hand you're editing the go script and calling a bit of custom scripting. On the other hand, judicious use of a few pre-written plugins seems like a small risk. There's a pretty good support network for Dynamix and unMENU.
January 23, 201412 yr Author I share the desire to keep a vanilla unRAID. But it seems like six of one, 1/2 dozen of the other. On one hand you're editing the go script and calling a bit of custom scripting. On the other hand, judicious use of a few pre-written plugins seems like a small risk. There's a pretty good support network for Dynamix and unMENU. You're absolutely right, I just don't want to replace the unRAID GUI with a completely new / different one. If a plugin would just enable a config page in the stock GUI to do scheduled checks I'd be happier to install it.
January 23, 201412 yr You're absolutely right, I just don't want to replace the unRAID GUI with a completely new / different one. If a plugin would just enable a config page in the stock GUI to do scheduled checks I'd be happier to install it. Often wondered why something so important hasn't been included in unRAID as default, maybe its something Tom could look at adding.
Archived
This topic is now archived and is closed to further replies.