Repetition Task C# Server side

444 views Asked by At

Net Web Form app that gather user information and depend on their performance should send them email every night. i need to find elegant way to run one class or web form page that do the processing and depending of the performance will send email. i can do this on Windows form application and have Windows Task Scheduler to run my windows form application, but i would like to know that i can do this on server side, "have one class or web page that will run every day" i have seen Cron job but this is asp.net application which it is running on windows. Any Suggestion or tutorial would be very helpful Sorry for English "mistake" Thank you

1

There are 1 answers

0
wOOdy... On

You can use a recurring tasks library like Hangfire o Quartz. These libraries allow you to schedule Fire-and-forget tasks, and they will also provide you with a dashboard page for monitoring.