开发者

WCF Periodical Function

开发者 https://www.devze.com 2023-03-06 02:03 出处:网络
I have a function in WCF service. this function must be run at 00:30 am(everyday). how implement it? (this service are always up)

I have a function in WCF service.

this function must be run at 00:30 am(everyday).

how implement it? (this service are always up)

tanx.

Edit:

if have functionality(in WC开发者_开发问答F) that can run function periodically also my problem be solved.


Do you mean you need to call an operation in a WCF service at a certain time in the day? You can simply create a client for the service in an .exe application and add a scheduled task which calls that client.


If you want your service to run at a given time, then I think Windows Service would be a better option. You can also create a console app and create a scheduled task to run at a given time.

0

精彩评论

暂无评论...
验证码 换一张
取 消