public async Task <ActionResult <ApiResult> > StartJob() { ApiResult ret = new ApiResult { code = Code.Success }; await _quart.Start(); return(ret); }
protected void Application_Start(object sender, EventArgs e) { //// 在应用程序启动时运行的代码 QuartzStart.Start(); }