Question Automating processes with IIS

kblackwel

New member
Joined
May 19, 2009
Messages
1
Programming Experience
3-5
I hope this is the correct area to ask this question.

I have an asp web site, but I would like for it to run some processes by itself.

So, every 30 days, I want the (iis application in vb?) to create a spreadsheet from a database, email it out, delete or clear out old data, and create a new database.

Programing wise, I know that could be done, but I'm not sure what I need to build to have it run on it's own in the background.

Asp 2.0 and vb only server.

I just need a buzz word or a point in the correct direction.

Thanks in advance.
 
Make a service. Web servers are designed to respond to requests, not do things autonomously.

Of course, you can program a computer to open a cerain URL using the task scheduler, and that URL will cause the web server to act.. But it's a bit of a dumb way to do things
 
Why is it dumb to use the task scheduler? He needs an application to run every thirty days. If he made it a web service then he would have to manually kick off the process every thirty days. He said he wanted it to run it by itself.

Maybe i'm not looing at it deep enough but if someone has a server and wants a process to be ran once every thirty days, I would goto the task scheduler first. I'm still fairly new to this, so is the task scheduler a big no-no?
 
Why is it dumb to use the task scheduler? He needs an application to run every thirty days. If he made it a web service then he would have to manually kick off the process every thirty days. He said he wanted it to run it by itself.

Maybe i'm not looing at it deep enough but if someone has a server and wants a process to be ran once every thirty days, I would goto the task scheduler first. I'm still fairly new to this, so is the task scheduler a big no-no?

Er. It's dumb to make a website do something every 30 days. Using the task scheduler is sensible, but what I cannot understand is why someone would seek to make a responsive, user driven, random access service like a web site perform something on schedule.

Sure, have the task scheduler open http://www.mysite.com/doSomethingScheduled.ashx every 30 days, and then IIS can do its scheduled thing.. but it's dumb in the face of just making an app (.exe) that does the scheduled thing, and starting the app every 30 days
 
I assumed since this is in the winforms section he wouldnt be using the website to run this process. I assumed he would create a separate vb application.
 

Latest posts

Back
Top