How to run an SQL stored procedure through C# at a specific time?
- by yishai neeman
I am building a website now for a library and i need to check every day at the same time if there are people who need to return their books in the next five days and to send them a reminder via email.
My question is what will be the correct way to do that?
What i need to accomplish is when the specific time of day comes i need to run an sql stored procedure and check either through visual studio 2010 or any other way if the stored procedure has returned any results to which i need to email.
Is there a way to maybe check the system time constantly on C# and not as a triggered event?