We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var list1 = new List<IJob>(); var list2 = new List<Guid>(); var list3 = new List<string>(); var job1 = new Job() { Name="job1", TimerType= TimerType.Interval, Period=30*60*1000, SuccessCallBack = j => { Console.WriteLine("执行"); } }; list1.Add(job1); list2.Add(job1.ID); list3.Add(job1.Name); job1.Start(); /* * 第一种方法 通过job自己停止 */ job1.Stop(); /* * 第二种方法 通过 作业ID或Name停止 */ JobScheduler.Default.Remove(job1.ID); JobScheduler.Default.Remove(job1.Name);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: