Running Code every 10 Minutes
Posted on 2008-06-25
I want to execute a piece of code every ten minutes or so. How can I do that in VB.NET 1.1? 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 100. I need to be able to set this code to start at a particular time as well.