摘要: 添加引用quartz.dll把下面这句话添加到程序开始 IScheduler sched; ISchedulerFactory sf = new StdSchedulerFactory(); sched = sf.GetScheduler(); JobDetail job = new JobDetail("job1", "group1", typeof(TestJob));//IndexJob为实现了IJob接口的类 DateTime ts = TriggerUtils.GetNextGivenSecondDate(null, ... 阅读全文
posted @ 2013-03-04 17:38 戴誉杰 阅读(278) 评论(0) 推荐(0) 编辑