I need to write a script that runs once a week at eg 4'o clock in the morning to send out a batch of emails. The machine the script run on is nt and I was wondering the best approach to tackle this problem.
I've seen it done through creating a service (.dll) that calls an asp page which then sends the emails. The problem you have is that the asp application is only running when someone calls a page - it can't always run and check the time and fire a page at a specific time. Services, which run on the server, are always on (once you start them). I don't know a lot about services, but you could probably have the service itself fire the emails (without your asp page at all). I can email you a .zip file with a visual basic project that posts ("Hello world" to your screen every two seconds (argh!). When you run it, it asks if you want to start the service. -----------------------------------------------------------------
DIM bulb
SET bulb = NEW brain
Zip sent. If you need more help with it, you may need to use the Visual Basic forum.... -----------------------------------------------------------------
"Whether you think that you can, or that you can't, you are usually right."
- Henry Ford (1863-1947)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.