cd /root/bin (If no bin flder create one)
vi clear_suphp.sh
cd /usr/local/apache/logs
echo > suphp_log
save and exit
chmod 700 clear_suphp.sh
crontab -e
10 */1 * * * /bin/bash /root/bin/suphp_clear > /dev/null 2>&1 (Will execute the cron in every 2hrs)
save and exit
service crond restart
« Prev:To find in MB size of particular file Cannot change password for cpanel a/c`s in WHM:Next »