C# Console Application - Keep it running

前端 未结 11 1770
萌比男神i
萌比男神i 2020-12-16 01:02

I am about to develop a console application that will be required to continually run and carry out work at specific times.

My question is what is are best methods or

11条回答
  •  感动是毒
    2020-12-16 01:45

    Code that runs continually is called a daemon and there is an article here outlining how to do what you ask. That will point you to an example of how to write a simple service here.

提交回复
热议问题