适用于 Windows 的类似 Cron 的系统? [英] Cron-like system for Windows?

查看:21
本文介绍了适用于 Windows 的类似 Cron 的系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找相当于 Windows 的 Cron 系统.这个想法是能够安排触发器并监控它是否成功运行.

I'm looking for an equivalent to a Cron system for Windows. The idea is to able to schedule a trigger and monitor whether it has run successfully or not.

系统需要做的是:

  • 它应该能够触发 Win32 COM 对象和/或可执行文件.
  • 它应该能够触发 .NET COM 对象和/或 .NET 可执行文件.
  • 它应该能够触发以任何语言编写的脚本,无论是基于原生框架(Python、Perl、Ruby)还是基于 DLR(IronPython、Ruby.NET 等)
  • 脚本的范围应介于需要几秒钟的简单脚本和可能需要长达半小时的相当繁重的脚本之间.

监控方面至关重要.所以基本上我正在寻找以下内容:

The monitoring aspect is critical. So basically I'm looking for the following:

  • 如果脚本或可执行文件失败,则应发送电子邮件或其他通知机制.
  • 应该记录每个触发器,以便我们可以回顾并查看代码何时失败.
  • 应该可以通过某种调试输出或堆栈跟踪轻松跟踪故障.

是否有任何 Windows 开发人员创建了这样的系统?我知道在 UNIX 世界中有 Cron,但在 Windows 世界中呢?

Are there any Windows developers out there who have created such a system? I know in the UNIX world there is Cron but what about in the Windows world?

推荐答案

您应该能够将计划任务用于上述所有任务.

You should be able to use the scheduled task for all the above.

这篇关于适用于 Windows 的类似 Cron 的系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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