在一段时间之后,执行应用 [英] Executing an application after a period of time
本文介绍了在一段时间之后,执行应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在写一个小的应用程序,需要每周执行一次。
我可以写作为持续运行的服务,但只执行了我需要它每周一次的任务,但似乎有点小题大做。
I'm writing a small app that needs to be executed once a week. I could write it as a service that runs constantly but only executes the task that I need it to once a week, but that seems like overkill.
有没有执行的应用,一旦时间每x段的另一种方式?
我在寻找,不涉及用户交互的解决方案。
Is there another way of executing an application once every x period of time? I'm looking for a solution that doesn't involve user interaction.
推荐答案
计划任务在Windows上。
Scheduled task on Windows.
在* nix - 使用<一个HREF =http://en.wikipedia.org/wiki/Cron相对=nofollow> cron的。
On *nix (using mono for c#/.net) - use cron.
这篇关于在一段时间之后,执行应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文