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 | , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: