PDA

View Full Version : asp and scheduling


esthera
04-07-2005, 10:53 AM
This is a general question as this keeps on coming up.

Is there anyway that I can schedule things to happen in asp.
Usually this means make a part of a program to send reminder email on certain dates.

For example I am writing a job ticket program in asp -- but I want to check adn send out emails everyday as reminders for open tickets.

What's the best way to do this.
I am using asp and sql server but I am on a hosted shared server which gives me some restrictions. (like to schedule a vbs)

fractalvibes
04-07-2005, 04:19 PM
You should look into WSH (Windows Scripting Host) - scripts written with WSH can be scheduled to run on the server. Regular ASP just runs when an ASP page is requested by a browser.

See:

http://www.devguru.com/Technologies/wsh/quickref/wsh_intro.html

fv

esthera
04-07-2005, 04:28 PM
The problem with this is that the program sits on a hosted machine where I don't have permission to schedule anything -- is there anything else that can work?

fractalvibes
04-07-2005, 06:09 PM
If you cannot schedule anything to run, cannot think of any other options other than running the script that sends the emails manually. Otherwise maybe an ASP script that continously posted back to itself?

Maybe someone else has a solution.

fv