Quartz.NET 初学者,需要一些指导
我昨晚发帖说,我正在创建一个 Windows 服务,其任务是通过指定指定路径(网络共享、ftp 服务器、http 服务器)和要移动的文件的正则表达式来移动各种文件。这些任务将通过 ASP.NET 接口添加,实际服务将使用 C# 语言。
经过一些建议后,我决定研究一下 Quartz.NET,它似乎非常适合这个目的。不过,我很难把我的 hed 全部包围起来 - 我已经将其设置为将作业存储在数据库中,并运行内置的 SQL 查询来创建表格。我该去哪里?如何定义可能存在的作业类型,以及作业是否可以通过 ASP.NET 网页输入到数据库?
谢谢
I posted last night stating that I was creating a Windows Service with the task of moving various files around, by being given specified paths (network shares, ftp servers, http servers) and a regex of the fles to be moved. These tasks will be added via an ASP.NET interface, and the actual service will be in C#.
After some suggestions I decided to look into Quartz.NET, and it seems perfect for the purpose. I'm having a very difficult time wrapping my hed around it all though - I've set it up so the jobs are stored in a database, and ran the inbuilt SQL queries to make the tables. Where do I go from here? How do I go about defining what types of jobs there may be, and is it possible for jobs to be inputted to the database via an ASP.NET web page?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在撰写本文时,Quartz.NET 相当于 Java Quartz 1.6.6,因此不要害怕下载此版本并使用他们的html文档、教程以及代码示例(如果您对目前拥有的内容不满意)。
Quartz.NET, at the time of writing, is equivalent to Java Quartz 1.6.6 so don't be afraid to download this version and use their html documentation, tutorials and code examples if you're not satisfied with the what you have at the moment.