views:

19

answers:

1

Hi,

I have a web page on a which does some database updates (e.g. http://www.mysite.com/updates.asp). I want this page to be called automatically each day at 09:00.

I know how to schedule a task in IIS, but the process of scheduling a task requires that I select a programme to operate the task. So I'm thinking perhaps I need to make a .exe file which calls the web page, then schedule that .exe to run daily.

Is this right? If so, how do I create a simple .exe to do this? My skills are solely front end web (html/css) and classic ASP, so I've never done anything like creating a .exe before, but I'm sure it can't be too difficult as it's only doing something very simple i.e. loading a web page.

I've looked online and the only examples I can find are full asp.net examples which contain logging of schedules etc, but I'm looking for something much simpler. I just need to get the web page called once daily.

Alternatively, is there a different way I can get the scheduler to call the page without a .exe?

Many thanks for any pointers...

+3  A: 

An exe to send an HTTP get request would be simple to create but there are lots around that you can use, for example wget.exe from http://gnuwin32.sourceforge.net/packages/wget.htm

RedGrittyBrick
also libcurl is an option - http://curl.haxx.se/
SB
Thanks RedGrittyBrick. I'd come across that service when I've been Googling, but had discounted it as it looks like overkill - it does WAY more than I need, so I'd prefer something much lighter if possible. Thanks though.
Dan