UnixServerAdmin

Server Administration & Management

How to update awstats from shell for all users in cPanel

Refer following command to update awstats for all users on your cPanel linux server but make sure that you are logged in as root user.

# cat /etc/trueuserowners | sort | cut -f 1 -d : | awk ‘{print “/scripts/runweblogs “$1}

Advertisements

December 4, 2011 Posted by | cPanel | , , | Leave a comment