Archive for the Category »Few good queries and suggestions «

Update awstats from shell for all users?

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}