We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
您可以尝试使用 Hudson(开源持续集成系统)来执行此操作。它提供了您所需的大部分(如果不是全部)功能。每个任务(或者在 Hudson 行话中称之为“项目”)都可以定期安排,或者通过 SCM 触发器或使用分词器 URL 的curl 调用进行安排。您可以将作业作为下游项目互连,也可以在各个盒子之间并行执行它们。它具有强大的错误报告功能,并存档所有构建日志、错误报告并支持各种格式(例如 junit),为您生成彩色图表,显示作业成功率、测试指标等的趋势。
请参阅此开始:
http://wiki.hudson-ci.org/display/HUDSON/Use+Hudson
您可以通过将任务创建为 Maven 目标(或 ant、Makefiles 任何东西,因此它可以运行任何脚本,因此非常灵活)来安排任务。电子邮件通知对于通知作业失败或不稳定非常有用。
此外,Hudson 附带了一堆开源插件,非常有用。希望有帮助。
You can try using Hudson, the opensource Continuous Integration system for doing this. It provides most if not all of the features you are asking for. Each task (or call it "project" in the Hudson lingo) can be scheduled periodically, or via a SCM trigger, or a curl call using the tokenizer URL. You can interlink jobs as downstream projects, and can also execute them parallelly among various boxes. It has great error reporting capabilities, and archives all the build logs, error reports and supports various formats like junit to generate you colorful plots showing the trends of your job success rate, test metrics etc.
Refer this to get started off:
http://wiki.hudson-ci.org/display/HUDSON/Use+Hudson
You can schedule the tasks by creating them as Maven targets (or ant, Makefiles anything for that reason; it can run any script so it is quite flexible) The email notification is quite useful to notify is the jobs are failing or unstable.
Moreover, Hudson comes with a bunch of opensource plugins, and is very useful. Hope that helps.
您是否考虑过 Quartz.Net ?
下面是一些突出显示的功能。
作业调度
集群
听众和听众插件插件
Have you considered Quartz.Net ?
Some highlighted features below.
Job scheduling
Clustering
Listeners & Plug-Ins
尽管对 Windows 的支持仍处于实验阶段或正在进行中,但您可以查看:
木偶
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
和
厨师
http://wiki.opscode.com/display/chef/Installation+on+Windows
http://support.rightscale.com/12-Guides/Windows_User_Guide5_Configuring_Windows_Servers/Using_Chef_on_Windows
Although support for Windows is still experimental or under progress, you can look into:
Puppet
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
and
Chef
http://wiki.opscode.com/display/chef/Installation+on+Windows
http://support.rightscale.com/12-Guides/Windows_User_Guide5_Configuring_Windows_Servers/Using_Chef_on_Windows
你研究过PowerShell吗?它能够调用 .net 库、任何类型的可执行文件和任何类型的脚本。
您可以使用并行任务和顺序任务编写复杂的工作流程脚本。
您可以写入 Windows 日志、发送电子邮件通知、以各种格式写入日志等。
如果您从任务管理器运行脚本,则可以远程启动、监视和停止任何任务。
它是免费的。
Have you researched PowerShell? It has the ability to call .net libraries, any type of executable and any type of script.
You can script complex workflows with parallel tasks and sequential tasks.
You can write to the Windows Log, send email notifications, write logs in a variety of formats, etc.
If you run the scripts from Task Manager, you can remotely start, monitor and stop any task.
It's free.