/// <summary> /// 删除指定id任务 /// </summary> /// <param name="TaskID">任务id</param> public static void DeleteById(string taskId) { QuartzHelper.DeleteJob(taskId); task.DeleteById(taskId); }