如何在netbeans中配置quartz

发布于 2024-08-21 05:56:03 字数 143 浏览 4 评论 0 原文

我已经下载了quartz调度程序。我编写了一个每2分钟生成随机数的程序。我想用quartz调度程序配置这个程序。我在网上搜索过,但我对此不清楚。有人可以告诉我配置quartz的步骤吗我的程序以及如何使用它。我想在 netbeans ide 中运行它。感谢您的所有意见。谢谢

I have downloaded quartz scheduler.I wrote a program for generating random numbers for every 2 mins.I want to configure this program with quartz scheduler.I searched through the net but i am unclear with this.could anyone tel the steps to configure quartz with my program and how to use it.I want to run this in netbeans ide.All your views are appreciated.Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

花辞树 2024-08-28 05:56:03

IBM DeveloperWorks 上有一个相当简短的大纲

示例 2 “简单触发器”将是您定期重复工作的良好起点。

There's a fairly short outline at IBM developerWorks.

Example 2 "Simple Triggers" would be a good starting point for your regularly repeating job.

心碎无痕… 2024-08-28 05:56:03

一种选择是将 Quartz 与 Spring 结合使用(文档 此处)。这允许您在 Spring 配置(即 XML)中定义 Quartz 作业,而不是将它们硬编码到您的项目中。

One option is to use Quartz in conjunction with Spring (documentation here). This allows you to define your Quartz jobs in Spring config (i.e. XML) rather than hard-coding them into your project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文