Update nodemgmt-scripts.sh
This commit is contained in:
@@ -922,7 +922,7 @@ GUI(){
|
||||
${NM_SCRIPT} status ${2} ${3} ${4}
|
||||
exit 0
|
||||
else
|
||||
echo -e "${idsCL[LightRed]}Whooooaaaaa there cowboy, we got 3 threads running already.... easy killer!${idsCL[Default]}\n"
|
||||
[ "${NMG_ACTION}" != "report" ] && echo -e "${idsCL[LightRed]}Whooooaaaaa there cowboy, we got 3 threads running already.... easy killer!${idsCL[Default]}\n"
|
||||
if [ ! -f ${NM_TMPFOLDER}/.overload ] || [ $(expr $(date +%s) - $(stat -c %Y ${NM_TMPFOLDER}/.overload)) -ge 600 ]; then
|
||||
SENDNOTICE "NODEMGMT OVERLOAD" "Whooooaaaaa there cowboy, we got 3 threads running already.... easy killer!" 1
|
||||
touch ${NM_TMPFOLDER}/.overload
|
||||
|
||||
Reference in New Issue
Block a user