How to execute code in c# service one time per day at the same hour ?

Posted by Bigballs on Stack Overflow See other posts from Stack Overflow or by Bigballs
Published on 2009-09-03T13:06:18Z Indexed on 2010/03/11 20:49 UTC
Read the original article Hit count: 186

Filed under:
|
|
|

So here's my problem, I need to do a c# service running on a server who's getting file on ftp one time per day at 3am. I think that I can do it with a thread.sleep() or by compare the DateTime.Now with 3am....

Do you have better solution?

Thank you very much for your help!

© Stack Overflow or respective owner

Related posts about scheduling

Related posts about service