public void CheckDateValid_Manager() { try { BLL.manager bll_manager = new BLL.manager(); int result = bll_manager.CheckDateValid_Manager(); Utils.WriteFileText("账户检查成功,过期条数:" + result + ",检查时间:" + DateTime.Now.ToString(), "Log/manager.txt"); HttpContext.Current.ApplicationInstance.CompleteRequest(); } catch (Exception ex) { Utils.WriteFileText("账户检查失败,失败信息:" + ex.Message, "Log/manager.txt"); HttpContext.Current.ApplicationInstance.CompleteRequest(); //return; } }