Program.cs 655 B

12345678910111213141516171819202122232425262728
  1. using Quartz;
  2. using Quartz.Impl;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace ConsoleApplication2
  9. {
  10. class Program
  11. {
  12. //测试
  13. static void Main(string[] args)
  14. {
  15. ISchedulerFactory sf = new StdSchedulerFactory();
  16. IScheduler sched = sf.GetScheduler(); //创建调度实例
  17. sched.Start(); //开启调度
  18. DemoU8_to_Wang.aa();
  19. DemoU8_to_Wang.bb();
  20. //DemoU8_to_Wang.aa();
  21. Console.WriteLine("启动成功 ");
  22. Console.ReadKey();
  23. }
  24. }
  25. }