Well, I found out the url that launches an update doesn't require a login so
I was just able to use the following, any comments on a better way to do
what I'm doing in the script?
-----------------------
Dim objExp
set objExp = CreateObject("InternetExplorer.Application")
objExp.Navigate
"http://myhostserver/stats/awstats.pl?config=mydomain&update=1"
objExp.Visible = 0
Do Until objExp.Busy = false
WScript.Sleep 10000
Loop
set objExp = Nothing
-----------------------
--
Posted 'as is'. If there are any spelling and/or grammar mistakes, they
were a direct result of my fingers and brain not being synchronized or my
lack of caffeine.
Mike Brearley
"Mike Brearley" <> wrote in message
news:...
> How can I run a script that will log into a website and launch a specific
> url on that site that executes a command to update stats?
>
> Basically, right now I have to log into the site manually, go to the stats
> page and click update now. I have the url for the update now link and if
> I'm logged into the site and I put that url in my browser it runs the
> update. But I'd like to set up a script that will do this for me.
>
> The site uses asp for the login process.
>
> --
> Posted 'as is'. If there are any spelling and/or grammar mistakes, they
> were a direct result of my fingers and brain not being synchronized or my
> lack of caffeine.
>
> Mike Brearley
>
>
|