using Quartz; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WX.CRM.CRMServices.PkgSms; namespace WX.CRM.CRMServices.CRMJobs { public class DowCallRecoldJob : IJob { static bool isRuning = false; public void Execute(JobExecutionContext context) { if (isRuning) return; isRuning = true; try { // Common.LogHelper.Error("start dowCallRecoldJob!"); new DowCallRecold().DowData(); } catch (Exception e) { WX.CRM.Common.LogHelper.Error(string.Concat("WX.CRM.CRMServices.CRMJobs.DowCallRecoldJob.Execute ", e.Message, e.StackTrace)); } finally { isRuning = false; } } } }