How to run an SQL stored procedure through C# at a specific time?

Posted by yishai neeman on Stack Overflow See other posts from Stack Overflow or by yishai neeman
Published on 2012-09-17T15:26:49Z Indexed on 2012/09/17 15:37 UTC
Read the original article Hit count: 236

Filed under:
|
|
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql