using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMYY_CallCenter_Api.QuartzWorker
{
    public class QuartzJob : IJob
    {
        /// <summary>
        /// Cron表达式
        /// </summary>
        public string CronExpression;

        /// <summary>
        /// 执行的任务委托
        /// </summary>
        public event EventHandler DoWork;
        public void Execute(IJobExecutionContext context)
        {
            DoWork(null, null);
        }
    }
}
