Auto Update AWStats on WAMP
Schedule an automatic AWStats update of your web sites
This tutorial is split into five chronological sections:
Pages
Installing AWStats on WAMP
Auto Update AWStats on WAMP
Create Additional AWStats WAMP Profiles
Install GEO IP on AWStats WAMP
Auto Update GEO IP AWStats WAMP
To schedule AWStats to autupdate a web site profile on Windows WAMP (WampServer), you have to schedule it using Windows built-in Task Scheduler. The Windows scheduler will update a script I wrote, so you don’t have to manually update via cmd. The script will also run siliently (invisible) so there are no annoying pop up cmd windows.
IMPORTANT
I am using my site, webdevster.com as an example. You must substitute webdevster.com related entries with your Windows environment
Step 1:
Create a new directory tasks, like so:
c:\wamp\tasks
Step 2:
Create a blank text file and rename it to update_webdev.bat, in the following directory like so:
c:\wamp\tasks\update_webdev.bat
Step 3:
Edit update_webdev.bat, with any simple text editor. Copy and paste the following:
perl c:\wamp\bin\AWStats\wwwroot\cgi-bin\awstats.pl -update -config=webdev
Step 4:
Create a blank text file and rename it to update_webdev.vbs, in the following directory like so:
c:\wamp\tasks\update_webdev.vbs
Step 5:
Edit update_webdev.vbs, with any simple text editor. Copy and paste the following:
Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "c:\wamp\tasks\update_webdev.bat" & Chr(34), 0 Set WshShell = Nothing
Step 6:
Alternately, you can download the zip containing both these files here.
Create a Windows Schedule in Control Panel > Scheduled Tasks to run, update_webdev.vbs however many times you like.

















