I’m coding a asp.net (c#) application. The major function of this application is “Scheduled Email”.
Every 10 minutes (configurable), server need execute exe file to retrieve data from Oracle DB, find out new customers (new Email receivers), then send Email to those people.
Question:
1. Do I need build a service object? Or I can use Windows Task Scheduler directly?
2. If I use Windows Task Scheduler (so, every 10 minutes, Task Scheduler will execute my exe file). Since user configures this interval parameter in front-end: how do I use C#, ASP.Net code to communicate with Task Scheduler?
3. Is there any reference on this issue? (book? Website?)
Thanks!
Lo1384
Every 10 minutes (configurable), server need execute exe file to retrieve data from Oracle DB, find out new customers (new Email receivers), then send Email to those people.
Question:
1. Do I need build a service object? Or I can use Windows Task Scheduler directly?
2. If I use Windows Task Scheduler (so, every 10 minutes, Task Scheduler will execute my exe file). Since user configures this interval parameter in front-end: how do I use C#, ASP.Net code to communicate with Task Scheduler?
3. Is there any reference on this issue? (book? Website?)
Thanks!
Lo1384