Click here to Skip to main content
15,948,339 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to execute a piece of code every ten minutes or so. How can I do that in ASP.NET ? The code will send an E-mail to roughly 100 people. I don't need assistance on the E-mailing, just the piece that manages the timing. If it helps, as an example, let's say I have 500 people to send a message to. I need to send the message to the first 100, wait 10 minutes, then send it to 101-200, wait ten minutes, and so on until I have sent it to all 500. I need to be able to set this code to start at a particular time as well.

I Need Windows Service for that.
Share this answer
You want a simple scheduled task, windows service, or SQL Server job for this. ASP.NET is not really the appropriate tool for the task.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900