12345678910111213141516171819202122232425262728 |
- using Quartz;
- using Quartz.Impl;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication2
- {
- class Program
- {
- //测试
- static void Main(string[] args)
- {
- ISchedulerFactory sf = new StdSchedulerFactory();
- IScheduler sched = sf.GetScheduler(); //创建调度实例
- sched.Start(); //开启调度
- DemoU8_to_Wang.aa();
- DemoU8_to_Wang.bb();
- //DemoU8_to_Wang.aa();
- Console.WriteLine("启动成功 ");
- Console.ReadKey();
- }
- }
- }
|