window service to get a scheduler

Posted by Sahoo under C# on 2/23/2012 | Points: 10 | Views : 1274 | Status : [Member] | Replies : 3
Hi


How to write a window service to run a scheduler on every Monday.
How to get Monday in window service.




Responses

Posted by: Blessyjees on: 2/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

you can implement this using timer control. Set timer interval as 24hrs and check day is monday, If day is monday then execute the task.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sahoo on: 2/24/2012 [Member] Starter | Points: 25

Up
0
Down
Thank for replay.But how to check monday

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 2/24/2012 [Member] Silver | Points: 25

Up
0
Down
Try this:
http://www.codeproject.com/Articles/16335/Simple-Windows-Service-which-sends-auto-Email-aler

Thanks,
Sanjay

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response