quartz.net

Quartz.net setup in an asp.net website

主宰稳场 提交于 2019-11-26 08:13:36
问题 I\'ve just added quartz.net dll to my bin and started my example. How do I call a C# method using quartz.net based on time? using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Quartz; using System.IO; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if(SendMail()) Response.write(\"Mail Sent Successfully\"); } public bool SendMail() { try {

How to use Quartz.net with ASP.NET

南楼画角 提交于 2019-11-26 00:35:53
问题 I don\'t know how to use Quartz.dll in ASP.NET. Where to write the code for scheduling jobs to trigger mail every morning? Please if some body knows about it plz help me... Edit: I found HOW TO use Quartz.NET in PRO way? to be really useful. 回答1: You have a couple of options, depending on what you want to do and how you want to set it up. For example, you can install a Quartz.Net server as a standalone windows serviceor you can also embed it inside your asp.net application. If you want to run