Windows 任务计划程序的替代方案
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1015702/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Alternative for Windows Task Scheduler
提问by hoju
I need a Task Scheduler for Windows. Unfortunately the builtin scheduler doesn't meet my needs, which are:
我需要一个 Windows 的任务计划程序。不幸的是,内置调度程序不能满足我的需求,它们是:
- can run tasks every minute/hour
- runs on Linux and Windows
- 32 and 64 bit versions
- GUI interface
- free
- 可以每分钟/小时运行一次任务
- 在 Linux 和 Windows 上运行
- 32 位和 64 位版本
- 图形用户界面
- 自由
Nice to haves:
很高兴拥有:
- supports CRON files
- open source
- status reports of execution times
- 支持 CRON 文件
- 开源
- 执行时间的状态报告
thanks!
谢谢!
回答by Joey
Just some corrections on your claims regarding the Windows Task Scheduler.
只是对您关于 Windows 任务计划程序的声明进行了一些更正。
- can run tasks every minute/hour
- 可以每分钟/小时运行一次任务
Every hour:
每隔一小时:
(source: hypftier.de)
(来源:hypftier.de)
or minute:
或分钟:
(source: hypftier.de)
(来源:hypftier.de)
- runs on Linux and Windows
- 在 Linux 和 Windows 上运行
Ok, you get that probably only with cron. But Windows and Linux are different enough to warrant OS-specific stuff anyway, so why bother burdening Windows users with yet another scheduler? (There are already too many out there as nearly every single application that needs something scheduled includes its own ...)
好的,您可能只有使用 cron 才能做到这一点。但是 Windows 和 Linux 的不同足以保证操作系统特定的东西,那么为什么还要用另一个调度程序给 Windows 用户带来负担呢?(已经有太多了,因为几乎每个需要调度的应用程序都包含自己的......)
Same for an arbitrary non-cron scheduler for Linux, though, just for both platforms, then.
不过,对于 Linux 的任意非 cron 调度程序也是如此,然后仅适用于两个平台。
- 32 and 64 bit versions
- 32 位和 64 位版本
The Windows Task Scheduler runs as a service, bittiness is kinda a no-issue there as it only starts other processes which couldn't care less about whether their spawner was 32 or 64 bit. However, it's available in 64 and 32 bit.
Windows 任务计划程序作为服务运行,bittiness 在那里不是问题,因为它只启动其他进程,而这些进程并不关心它们的 spawner 是 32 位还是 64 位。但是,它有 64 位和 32 位可用。
- GUI interface
- 图形用户界面
Enough GUI?
足够的图形用户界面?
(source: hypftier.de)
(source: hypftier.de)
(source: hypftier.de)
(source: hypftier.de)
(source: hypftier.de)
(来源:hypftier.de)(来源:hypftier.de)(来源:hypftier.de)(来源:hypftier.de)(来源:hypftier.de)
- free
- 自由
Included in every Windows installation. Should suffice, I'd say.
包含在每个 Windows 安装中。应该够了,我会说。
回答by Stefan Mai
Cron supports Cron files, so does Cron for Windows!
Cron 支持 Cron 文件,Cron for Windows 也是如此!
回答by Nippysaurus
Windows only: Freeware utility Z-Cron replaces the Windows task scheduler with a more robust, cron-like alternative (but with a graphical interface). Z-Cron ships with a long set of useful actions you can automate, like sending an email, copying a folder, deleting files, emptying the trash, and way more, which makes writing batch files to do these things for you effectively obsolete. Z-Cron is a free download for Windows only.
仅适用于 Windows:免费软件实用程序 Z-Cron 用更强大的类似 cron 的替代方案(但具有图形界面)替换了 Windows 任务调度程序。Z-Cron 附带了一系列可以自动化的有用操作,例如发送电子邮件、复制文件夹、删除文件、清空垃圾箱等等,这使得编写批处理文件来为您有效地执行这些操作已经过时了。Z-Cron 仅适用于 Windows 的免费下载。
回答by Alex
It amazes me how everyone keeps yelling "Alternatives!" on windows programs/functions even when they don't know the first things about using them. The task scheduler DOES work in XP/Vista/Seven (on cared-for systems of course, not those infested with malware, errors and resident bloatware), and it does a pretty good job too. For instance hourly scheduling is even available in XP together with lots of other options available through gui as well as batch commands.
令我惊讶的是,每个人都不断大喊“替代方案!” 在 Windows 程序/功能上,即使他们不知道使用它们的第一件事。任务调度程序可以在 XP/Vista/Seven 中工作(当然,在精心维护的系统上,而不是那些被恶意软件、错误和常驻膨胀软件感染的系统),而且它也做得很好。例如,在 XP 中甚至可以使用每小时调度以及通过 gui 和批处理命令提供的许多其他选项。
回答by Archimedes
Unless Mel wants to use Z-Cron for commercial purposes, he is wrong about the cost. From the Z-Cron download page:
除非 Mel 想将 Z-Cron 用于商业目的,否则他对成本的看法是错误的。从 Z-Cron 下载页面:
The free programs offered here are freeware for personal use, i.e. they can only be used by private individuals free of charge.
此处提供的免费程序是供个人使用的免费软件,即它们只能由个人免费使用。
I am using Z-Cron to execute a desktop shortcut at the same time each day. Windows 7 task scheduler would not work for the same task. That's a vote for Z-Cron in my book.
我每天都在同一时间使用 Z-Cron 执行桌面快捷方式。Windows 7 任务计划程序不适用于同一任务。这是我书中对 Z-Cron 的投票。
回答by Ell
We use Automate from www.networkautomation.com . We actually really like it, but we're a version old and the new version is expensive (like $1,800). It has a fantastic feature set - we've not found anything it can't do. But we're looking for something else since it's so expensive.
我们使用来自 www.networkautomation.com 的 Automate。我们实际上真的很喜欢它,但我们是旧版本,新版本很贵(比如 1,800 美元)。它有一个很棒的功能集 - 我们没有发现它不能做的任何事情。但我们正在寻找其他东西,因为它太贵了。
回答by Mel
"Windows only: Freeware utility Z-Cron replaces the Windows task scheduler with a more robust, cron-like alternative (but with a graphical interface)...."
“仅适用于 Windows:免费软件实用程序 Z-Cron 用更强大、类似 cron 的替代方案(但具有图形界面)替换了 Windows 任务调度程序......”
Z-Cron is NOT free! It is a 14-30 day trial. Here on Earth we call that shareware. I don't know where that company gets off calling it "freeware."
Z-Cron 不是免费的!这是一个 14-30 天的试用期。在地球上,我们称之为共享软件。我不知道那家公司从哪里开始称其为“免费软件”。
It looked like a cool program though.
虽然它看起来像一个很酷的程序。
回答by user316191
- supports cron-like scheduling (5 * * * *)
- runs arbitrary processes
- has a web-based interface
- free and open-source (MIT)
- written in Java and runs on Linux or Windows
- haven't tested with 64-bit, but Hudson doesn't depend on native libraries so there's a high chance it will just work
- may take up a larger memory footprint than you're used to
- status reports for failed tasks available, with console output
- easy installation
- 支持类cron调度(5 * * * *)
- 运行任意进程
- 有一个基于网络的界面
- 免费和开源(麻省理工学院)
- 用 Java 编写并在 Linux 或 Windows 上运行
- 尚未使用 64 位进行测试,但 Hudson 不依赖于本机库,因此很有可能它会正常工作
- 可能会占用比您习惯的更大的内存占用
- 可用的失败任务的状态报告,带有控制台输出
- 简易安装
回答by Glen
JAMS can easily handle this sort of thing - www.JAMSScheduler.com but like Automate, it ain't cheap. I do know there is a free Developer's Edition that a bunch of our developers use. We only use the product on one server but I know it cost a decent chunk.
JAMS 可以轻松处理此类事情 - www.JAMSScheduler.com 但与 Automate 一样,它并不便宜。我知道有一个免费的 Developer's Edition,我们的许多开发人员都在使用它。我们只在一台服务器上使用该产品,但我知道它的成本相当可观。
回答by Bill
Windows task scheduler is great....... except when it loses its cookies and forgets all the credentials for your tasks. It has had this issue for years, there have been hotfixes for NT and beyond, but the issue is still there circa Server 2003 R2. I have no idea if it is finally corrected in newer versions, but it has lasted far too long.
Windows 任务调度程序很棒......除非它丢失了它的 cookie 并忘记了你的任务的所有凭据。它已经有这个问题多年了,NT 及更高版本已经有修补程序,但问题仍然存在于大约 Server 2003 R2。我不知道它是否最终在新版本中得到纠正,但它已经持续了太长时间。
Unacceptable.
不可接受。