Commit 0ba154cb authored by Vinicius Ruoso's avatar Vinicius Ruoso

Expanded running interval of fixhome function on prd_fixraid

We decide to give fixhome some more shots to try fixating the /home RAID.
Only after 22hrs will give not more than 2 shots, but between 22 and 5hrs it
will have enought time to run properly.
Signed-off-by: default avatarVinicius Ruoso <vkr07@c3sl.ufpr.br>
parent ab302db9
......@@ -39,7 +39,7 @@ function fixhome(){
# must check if its a good time to do this
print "FIXHOME: CHECKING TIME"
TIME=$(date +%k)
if test $TIME -ge 22; then
if test $TIME -ge 22 || test $TIME -le 5; then
print "FIXHOME: STARTING (SMALLER DISK IS $SMALL)"
# lock will prevent simultaneous execute
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment