디스크 용량 체크후 특정 작업 수행(메일, SMS.. 등등)
$MAX_CHECK_LIMIT_PERCENT = 80.0; function clearPatternStr($str, $pattern = "\n", $replace = ""){ while(strstr($str,$pattern)) $str = preg_replace("(".$pattern.")",$replace,$str); return $str;}function generateTxt($msg, $indexs){ global $MAX_CHECK_LIMIT_PERCENT; $content = date("Y-m-d H:i:s",time())." 기준 하드용량 체크 내역입니다. "; $content.= " 하드사용량이 기준치 이..