Beispiel #1
0
        public void Execute(IJobExecutionContext context)
        {
            try
            {
                //  LogUtil.Logger.Info(context.JobDetail.JobDataMap["dbString"].ToString());
                //  LogUtil.Logger.Info(context.JobDetail.JobDataMap["queuePath"].ToString());

                TaskDispatcher td = new TaskDispatcher(context.JobDetail.JobDataMap["dbString"].ToString(),
                                                       context.JobDetail.JobDataMap["queuePath"].ToString());
                td.SendToBeFullMemberMsgRecordMessage();
            }
            catch (Exception ex)
            {
                LogUtil.Logger.Error("转正提醒任务错误!", ex);
            }
        }