Windows Service or Task Scheduler for maintenance tasks?

前端 未结 6 1540
一生所求
一生所求 2020-12-31 22:41

I have a C# Application that does some maintenance tasks. It needs to run roughly every hour, although it\'s not too important if it\'s a bit off. And it has to run on a Win

6条回答
  •  Happy的楠姐
    2020-12-31 23:13

    Windows service is more secure: no one can drop it and ever works. I've found a lot of troubles with Windows Tasks (not executing, ...).

    Windows Task Scheduler is for end-user tasks not for appplication tasks. Anyway, Windows Backup uses it ;-)

提交回复
热议问题