添加计划任务的设置? [英] Add a scheduled task at the setup?

查看:249
本文介绍了添加计划任务的设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小C#应用程序,我要创建这种应用计划的任务。

I've a little c# application, and I have to create a scheduled task for this application.

我有一个安装程序将安装该应用程序,最好的情况将是,我可以在安装时设置此Windows计划任务。

I have a Setup which installs the application, and the best case will be that I can set this windows scheduled task at the installation.

任何想法,如果有可能和/或如何?

Any idea if it's possible and/or how?

非常感谢你。

推荐答案

有一个任务计划托管包装在codePLEX - 这可以被用来创建一个小型控制台应用程序,将设置一个任务,并且可以通过您的安装运行

There is a Task Scheduler Managed Wrapper on codeplex - this can be used to create a small console application that will setup a task and can be run by your installer.

您也可以运行 的schtasks 命令行实用程序类似的结果。

You can also run the schtasks command line utility for a similar result.

这篇关于添加计划任务的设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆