.net Quartz 无法在 Windows 2003 中运行

发布于 2024-12-28 19:04:24 字数 255 浏览 3 评论 0原文

我在windows 2003服务器中安排了一个quartz调度程序。当我正在工作时 石英调度程序正在运行的系统。 但是当系统处于空闲模式时(我有一段时间没有触摸系统进入空闲状态),在这种情况下,我每天在 0 30 1 * * 安排一个石英调度程序? * 它 不会因为那种表情而火。是表达是正确的。如果 不请让我知道表达方式。有安全设置吗 适用于 Windows 2003 Server 和 Windows 7 中的quartz调度程序。

但在 Windows XP 中一切正常

i scheduled a quartz scheduler in windows 2003 server. when i am working on
the system the quartz scheduler is running.
But when the system is in idle mode (i did not touch for some time the system go's to idle) in this case i scheduled a quartz scheduler Every Day at 0 30 1 * * ? * it
doesn't fire with that expression. is the expression is correct. if
not please let me know the expression. is there any security setting
for quartz scheduler in windows 2003 server and Windows 7.

But every thing works fine in windows XP

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

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

发布评论

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

评论(1

望她远 2025-01-04 19:04:24

根据 CronMaker,您的计划应在每天凌晨 1.30 运行。
您在哪里托管 Quartz Scheduler? ASP.NET、Windows 服务?
您使用的是 RAMJobStore 还是 AdoJobStore ?

更新

几个月前,我开发了一个托管 Quartz.net 的自定义 Windows 服务。
我使用 AdoJobStore 将我的计划和作业保存在 Sql Server 数据库上。
该服务在 Windows 2003 Server 32 位上运行,到目前为止我从未遇到过任何类型的问题。

在这些情况下最好的办法是配置您的应用程序以进行一些调试。
我已经在此处进行了解释

您可以从此处下载 Common.Logging.NLog。
在 ZIP 文件中,您可以找到所需的所有程序集。
如果您使用 Quartz.NET 1.0.3,则必须下载 Common.Logging 1.2.0。

有关通用日志记录基础设施的更多信息此处

according to CronMaker your schedule should run every day at 1.30AM.
Where are you hosting your Quartz Scheduler? ASP.NET, Windows Service ?
Are you using a RAMJobStore or a AdoJobStore ?

UPDATE:

Few months ago I've developed a custom windows services which hosts Quartz.net.
I've used AdoJobStore to persists my schedules and jobs on a Sql Server database.
The services is running on a Windows 2003 Server 32Bit and I've never experienced any kind of problem so far.

Best thing to do in these situations is to configure your app to do some debugging.
I've explained here.

You can download Common.Logging.NLog from here.
In the ZIP file you can find all the assemblies you need.
If you're using Quartz.NET 1.0.3 you have to download Common.Logging 1.2.0.

There are more infos about Common Logging infrastructure here

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