Scheduling a Page to Run
Written by Eric Smith, Northstar Computer Systems LLC
A user asked if there was a way to schedule an ASP page to run every month at a specific time. Not knowing what the purpose of this is, there are a couple of ways to do this. The easiest way (assuming the web page didn't require any input) would be to schedule a task in Windows to run your browser with the URL as part of the command line, depending on what browser you're using. The Windows Task Scheduler will give you a number of scheduling options, including the once a month option that was requested. You can also do this from the server side, but in that case, it's probably easier to use a stored procedure scheduled through SQL Server, for instance to do it. You could also use a client running on the server to do the task instead of the web page.
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 5/1/2000
|