开发者

Is there something like Java Quartz in ruby?

The is a lib开发者_开发技巧rary like Quartz in Java for ruby?


There nothing quite as fully featured as Quartz for Ruby. There is the whenever gem which you could integrate with one of the many job queuing frameworks. Or, if you are are prepared to consider using JRuby, then you can fully integrate with Quartz directly.


Cron replacements that use a long running ruby process:

Check out the Clockwork ruby gem. This gives a very simple DSL and runner.

If you need something more advanced, check out the Rufus-Scheduler gem. It looks like you will have to do some legwork to use this in a long running process, however it is much more powerful than clockwork and supports EventMachine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜