Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi to all.,

i have problem in asp .net , C# with sql server 2005 that in a web form a user set the time schedule to send a text message to his wish mobile number, that time schedule will get store in database, according to that time schedule the message should get send to the assigned number.

How to make trigger that time schedule in sql server 2005 from a particular database table..?



Thanks to all..
Posted
Comments
luisnike19 8-Aug-11 15:58pm    
Your question is not very clear

What you want is a windows service, because your DB AND your website are stateless. A service needs to run that sets timers to perform these actions.
 
Share this answer
 
If I understood your question correctly, you could use SQL Agent to regularly check the data in the db. If it's time to send a message (based on the info in the db) you could execute for example a shell script, send an email etc.

For more info, have a look at: Creating Jobs[^]
 
Share this answer
 

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