- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
嗯,我是 Quartz 的新手,我正在关注 this tutorial
并且我配置了我的调度程序实例和 quartz 以使用此属性:
properties["quartz.jobStore.lockHandler.type"] = "Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore, Quartz";
properties["quartz.jobStore.driverDelegateType"] = "Quartz.Impl.AdoJobStore.SqlServerDelegate, Quartz";
properties["quartz.jobStore.dataSource"] = "default";
properties["quartz.dataSource.default.connectionString"] = "Server=loclahost;Initial Catalog=aleo;Persist Security Info=True;User ID=userid;Password=password";
properties["quartz.dataSource.default.provider"] = "SqlServer-20";
properties["quartz.jobStore.type"] = "Quartz.Impl.AdoJobStore.JobStoreTX, Quartz";
properties["quartz.jobStore.useProperties"] = "true";
properties["quartz.jobStore.tablePrefix"] = "QRTZ_";
ISchedulerFactory schedFact = new Quartz.Impl.StdSchedulerFactory(properties);
IScheduler sched = schedFact.GetScheduler();
sched.Start();
但是接下来呢?我是 C# 的新手,但如果有人解释可以理解 :)
我的问题是如何向数据库添加作业、触发器和内容?
我还创建了 Quartz API 附带的 Database/tables 文件夹中给出的表谢谢。
最佳答案
它可能关注的对象:好吧,我问这个问题是因为我不知道 Quartz.net 有很多很好的例子 :) 一旦你将属性 Collection 作为 StdSchedulerFactory 方法的参数,你得到你的调度器,你所要做的就是像在 RamJobStore 上一样继续工作,作业或触发器将存储在数据库中而不是 Ram 内存中:)祝你好运!
关于c# - 废话 JobStore 使用!,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2426433/
我不是 OOP 大师,也许还有一些更深层次的东西我没有理解,但这是让我很困扰的: 我不明白为什么 Selenium WebDriver 的所有示例和教程都使用 WebDriver 对象,例如: Web
有一天,我在 Verilog 中学到了一个很酷的技巧。当你需要重复做某事时。您可以使用移位寄存器来计算递增的次数。只需将 1 从 LSB 移到 MSB,当它到达 MSB 时就完成了。 在 C 中它会是
有时 Agda 会给我一些无意义的“不在范围内”错误,让我不知道该怎么做。下面是一个例子: open import Data.Product open import Data.Bool open im
嗯,我是 Quartz 的新手,我正在关注 this tutorial 并且我配置了我的调度程序实例和 quartz 以使用此属性: properties["quartz.jobStore.lockH
我想写这段代码: @Stateless public class MyEjb { @EJB private static MyOtherEjbWhichIWantStatic myOt
“停止”Tomcat 和终止进程之间的区别(在 Tomcat 术语中)是什么? 如果 Tomcat 的 pid 为 500,那么它们之间有什么区别: kill -9 500 和 service tom
我对 Python 还很陌生 我正在尝试从其网站获取打印机计数器值。该网站是用 Javascript 编写的,我无法从中获取任何内容。 网站元素如下所示,我需要突出显示元素上的值。 inspect e
这个问题在这里已经有了答案: cmath header confusion (4 个答案) 关闭 9 年前。 我之前遇到过一个问题,因为函数在没有 std:: 的情况下被重载了。而且诅咒仍然不时发生
有没有办法在托管 C++ 中使用逐字字符串文字?类似于 C# 的 String Docs = @"c:\documents and settings\" 最佳答案 在 C++11 中,有原始字符串文字
我在 Mac OS X 10.6 上编译了 GCC 4.6.2,因为 Xcode 4.2 不附带 GCC。我还没有在 Xcode 中完全运行它,因为 Xcode 坚持将 -fconstant-cfst
我是一名优秀的程序员,十分优秀!