Update nodemgmt-scripts.sh
This commit is contained in:
@@ -922,7 +922,7 @@ GUI(){
|
|||||||
${NM_SCRIPT} status ${2} ${3} ${4}
|
${NM_SCRIPT} status ${2} ${3} ${4}
|
||||||
exit 0
|
exit 0
|
||||||
else
|
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
|
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
|
SENDNOTICE "NODEMGMT OVERLOAD" "Whooooaaaaa there cowboy, we got 3 threads running already.... easy killer!" 1
|
||||||
touch ${NM_TMPFOLDER}/.overload
|
touch ${NM_TMPFOLDER}/.overload
|
||||||
|
|||||||
Reference in New Issue
Block a user