0655
This commit is contained in:
@@ -139,7 +139,7 @@ dispatch_task() {
|
|||||||
total_h=$(( ceil_h + rnd - 1 ))
|
total_h=$(( ceil_h + rnd - 1 ))
|
||||||
|
|
||||||
# NEW: if rebootin is huge (>=18h), convert to immediate reboot (0h)
|
# NEW: if rebootin is huge (>=18h), convert to immediate reboot (0h)
|
||||||
if (( total_h >= 18 )); then
|
if (( total_h >= 19 )); then
|
||||||
total_h=0
|
total_h=0
|
||||||
log "Adjusted _tonight rebootin to 0h because computed value was >=18h"
|
log "Adjusted _tonight rebootin to 0h because computed value was >=18h"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user