开发者

Windows service lifetime and duty

开发者 https://www.devze.com 2023-04-02 09:08 出处:网络
I need a management application running w开发者_开发百科ith no-gui, doing some periodic jobs and connectable anytime by another console or desktop application.

I need a management application running w开发者_开发百科ith no-gui, doing some periodic jobs and connectable anytime by another console or desktop application.

On Linux, it would be a daemon. Is Windows service project equivalent on Windows?


If you want a program to run periodically, you should consider using Task Scheduler (the equivalent of cron) - setting this up will be much easier than using a Windows Service. However, if you need to be able to connect to it 24/7, you are correct that a Windows Service is equivalent.

0

精彩评论

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