//private static CacheItemRemovedCallback OnCacheRemove = null; protected void Application_Start() { // SomeScheduler.Start(); AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); SomeScheduler.Start(); // AddTask("DoStuff", 60); // Utilities.WriteLog(); }
public void DoJob() { SomeScheduler.Start(); }