Scheduled Web Service call using Windows Service in .net

Posted by Naidulaxmi under C# on 1/6/2015 | Points: 10 | Views : 1815 | Status : [Member] | Replies : 3
Hi friends,

i want Scheduled Web Service call every day(Monday to Friday)5pm and Saturday to Sunday web service cal 7pm using Windows Service in .net.

Could you Please help me this requirement this is urgent.


Thanks,

appalanaidu


Responses

Posted by: vishalneeraj-24503 on: 1/6/2015 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi,
You have 2 options.
1st option:- You can give condition in windows service code like 5pm and 7 pm,so timer will check if time meets your condition then it will execute your job or code.
So,you can apply condition.

2nd option:- You can make windows application,and write your all code in windows application which you wrote in windows service,make a exe file and keep that exe in Task scheduler.
Task scheduler is an in-built operating system utility.Here,you can schedule your date and time too.


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

Posted by: vishalneeraj-24503 on: 1/9/2015 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Hi Naidulaxmi,

Did you get any solutions for your queries?If found then let me know.
If my answers help you,then kindly mark as answer.

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

Login to post response