How To Fix Bandwidth Updating
If bandwidth stats aren't updating:
/scripts/runweblogs username /scripts/runlogsnow
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Sasha http://nothing-less.net
/scripts/runweblogs username /scripts/runlogsnow
chmod 755 /home/*/public_html
cd /var du -sh *
rm -f /var/log/*.1 rm -f /var/log/*.2 rm -f /var/log/*.3 rm -f /var/log/*.4
/usr/sbin/logrotate -vf /etc/logrotate.conf
cd /etc/logrotate.d rm -rf httpd.rpmorig.log
cd /var/spool/exim/msglog rm -rf *
cd /usr/local/apache/domlogs/ rm -rf *.* /scripts/restartsrv httpd
cd /backup/cpbackup/monthly/ rm -f *.gz /scripts/restartsrv httpd
/scripts/fixquotas /scripts/updatemysqlquota
pico /var/cpane/users/accountname
skipanalog=1 skipawstats=1 skipwebalizer=1
/scripts/runweblogs username /scripts/runlogsnow
pico /usr/local/cpanel/3rdparty/etc/php.ini
extension_dir = ./ ;
extension_dir = ;
;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; extension="/usr/local/cpanel/3rdparty/etc/ixed/ixed.lin.4.3.10.pxp" ;;;;;;;;;;;;;;;;;;;;;;
cd /tmp df -i /tmp df -h /tmp
/etc/rc.d/init.d/chkservd stop /etc/rc.d/init.d/mysql stop
cd /var/lib/mysql
myisamchk -cs a*/*.MYI
myisamchk -r a*/*.MYI myisamchk -r b*/*.MYI myisamchk -r c*/*.MYI myisamchk -r d*/*.MYI myisamchk -r e*/*.MYI myisamchk -r f*/*.MYI myisamchk -r g*/*.MYI myisamchk -r h*/*.MYI myisamchk -r i*/*.MYI myisamchk -r j*/*.MYI myisamchk -r k*/*.MYI myisamchk -r l*/*.MYI myisamchk -r m*/*.MYI myisamchk -r n*/*.MYI myisamchk -r o*/*.MYI myisamchk -r p*/*.MYI myisamchk -r q*/*.MYI myisamchk -r r*/*.MYI myisamchk -r s*/*.MYI myisamchk -r t*/*.MYI myisamchk -r u*/*.MYI myisamchk -r v*/*.MYI myisamchk -r w*/*.MYI myisamchk -r x*/*.MYI myisamchk -r y*/*.MYI myisamchk -r z*/*.MYI
/etc/rc.d/init.d/chkservd start /etc/rc.d/init.d/mysql start