Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
auto check the database for some condition and accordingly send reminder mail..Can we achieve this in asp.net web application without opening a single page even not opening the Login Page..
This auto check must occur every day at 12:00 am.

Could anyone help me in this scenario?
Posted

1 solution

Asp.Net application has to load(code to be run) to to some job/task. What you can do is eight you can create a console application and keep it running and execute the code at 12:00 am or create a Window service which will do your job.

Window service is the best option to achieve this kind of job.
 
Share this answer
 
Comments
Sooraj_Singh 8-Jan-15 2:05am    
Thanks for your suggestion.But I am thinking to achieve it using asp.net only.Although if I don't get any better ideas then I think I have no choice and go with Windows service
Praveen Kumar Upadhyay 8-Jan-15 2:10am    
Please note that you have to have open the Asp.net Page or make it run somehow. Also this is not a good solution to do this, As this is a job of schedule task then better go with Window Service.

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