I am looking to do an action on every day at a particular time like triggers in sql, but here i am looking to do this in c#.net, can any one please help me,
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In general you are creating loop and then check if it’s time for your action. It should be alwasy running process (service, or application in tray, etc).
It depends on how clear you need to be in your timer: if it needs to be second in second you need to create interval in 1 second and in
Elapsedhandler check you target time with current one, if true – fire alarm (event).