Example #1
0
 static void Main(string[] args)
 {
     try
     {
         string bizLog1 = ConfigurationManager.AppSettings["BizLog"];
         GroupBuyingBP.CheckGroupBuying(bizLog1);
     }
     catch (Exception ex)
     {
         string errorLog = ConfigurationManager.AppSettings["ErrorLog"];
         Log.WriteLog(ex.ToString(), errorLog);
         JobHelper.SendMail(ex.ToString());
     }
 }
Example #2
0
 public void Run(JobContext context)
 {
     GroupBuyingBP.jobContext = context;
     GroupBuyingBP.CheckGroupBuying(bizLog);
 }