计划任务的建议? .NET,SQL工作? [英] Scheduling tasks Advice? .Net, SQL Job?
问题描述
我创建一个系统,用户可以设置邮件出去,在特定的时间。之前,我是我希望得到一些建议。首先,有没有已经是一个.NET组件,将处理调度作业(无论是运行其他应用程序或调用一个URL),将做什么,我的建议(开放源代码会很酷)?如果没有,岂不是更好安排在SQL作业并运行某种脚本,创建.NET服务,将看一个XML文件或数据库的时间表,或者有一个应用程序创建计划任务?有可能是一吨的任务,所以我想创建计划任务或SQL作业可能不是一个好主意。 这里可以是一个典型的情况;一个用户想要发送简讯给他们的客户。用户创建在一个周六的电子报,但不希望它出门到星期一。用户希望同样的电子邮件外出每个星期一一个月。 为寻找谢谢!
I am creating a system where users can setup mailings to go out at specific times. Before I being I wanted to get some advice. First, is there already a .Net component that will handle scheduling jobs (either running another application or calling a URL) that will do what I am suggesting (Open Source would be cool)? If there isn’t, is it better to schedule a job in SQL and run some sort of script, create a .Net service that will look at an xml file or db for schedules, or have an application create scheduled tasks? There could be a ton of tasks, so I am thinking creating scheduled tasks or SQL jobs might not be a good idea. Here may be a typical scenario; a user wants to send a newsletter to their clients. The user creates the newsletter on a Saturday, but doesn’t want it to go out until Monday. The user wants that same e-mail to go out every Monday for a month. Thanks for looking!
推荐答案
查看 Quartz.NET
Quartz.NET是一个全功能的,打开 源作业调度系统,可以 从最小的应用程序,以用于大型 规模的企业系统。
Quartz.NET is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems.
这篇关于计划任务的建议? .NET,SQL工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!