摘要:
①首先,在WebSite里追加一个GobalApplicationClass。%@ Application Language="C#" %script runat="server" void Application_Start(object sender, EventArgs e) { // Code that runs on application startup System.Timers.Timer timer = new System.Timers.Timer(); timer.AutoReset = false; // 定时一分钟 timer.Interval = 6000 阅读全文