Scheduling a task to execute in ASP.Net
January 15th, 2009
No comments
I came across this article when I was looking into scheduling the execution of a ASP.Net script nightly:
http://www.asp101.com/articles/john/schedule/default.asp
The best part of the article is the HttpRequestor.vbs script, which is a very lightweight script to execute a webpage with no other program or desktop interaction needing to be performed. To execute a webpage in a schedule task, you would put in something like “C:\path\HttpRequester.vbs http://localhost/ScheduleMe.asp".
Note: There is a similar HttpRequest.vbs script going around, that is much, much heavier than this one. Don’t confuse the two.
Attached files:
HttpRequestor.vbs