0

I'm trying to get a scheduled web script running on a Windows Server and so far the only way I've managed to automate this process is by using the Task Scheduler to open Internet Explorer with the web address as a parameter. I then need to create a separate task to run just after this task to close Internet Explorer (otherwise the task doesn't complete).

Is there a better way of doing this?

I've also managed to run the script by calling the web address through a Telnet connection to the web server (GET /web/address/here) but I haven't found a way of automating this process on a scheduled basis.

Any ideas appreciated

Dan Murfitt
  • 103
  • 4

3 Answers3

0

Your post as I see is essentially a duplicate of this one:

https://stackoverflow.com/questions/3947142/open-url-from-script-on-windows-server-2008

There he got quite a few answers right up your alley (most notably some PowerShell scripts).

Bojan Markovic
  • 339
  • 3
  • 9
0

I've recently moved all stuff like this to a powershell script that calls a URL or does stuff with the .NET framework, then schedule with Task Scheduler

-1

THere are version of wget & curl for Windows (look for GnuWin32). As commandline tools these could take many actions for you and exit.

uSlackr
  • 6,412
  • 21
  • 37